[insert_php]
global $wpdb;
$result = $wpdb->get_results(‘SELECT * FROM EscapesDB’);
foreach($result as $escape) {
$salles=$wpdb->get_results(‘SELECT Room,Article FROM EscapesDB WHERE Company=”‘.$escape->Company.'”‘);
echo “ “;
}
[/insert_php]

Fermer le menu