Editor PHP libraries with a join

Editor PHP libraries with a join

UMR5558UMR5558 Posts: 41Questions: 13Answers: 0

Hello
How can i use a join with Editor PHP librairies in my php file.
I would like to use a syntaxe like this with on join between two tables.

include_once( $_SERVER['DOCUMENT_ROOT']."/php/DataTables.php" );

$countries = $db
->select( 'country', ['id as value', 'name as label'], ['continent' => $_REQUEST['values']['continent']] )
->fetchAll();

Thanks for your help.
Lionel

Answers

This discussion has been closed.