cette requete :
Code : Tout sélectionner
$sql_query = sprintf('SELECT `linked_topics`.`linked_topic`, ' .
'`topics`.`topic_id`, ' .
'`topics`.`title`, ' .
'`categories`.`title` ' .
'FROM `linked_topics` ' .
'INNER JOIN `topics`, `categories` ON `topics`.`category_id` = `categories`.`category_id` ' .
'WHERE `linked_topics`.`topic_id` = %d', mysql_real_escape_string($_GET['topic']));
Je pose la question, non pas secifiquement pour ce probleme, mais dans le cadre general d'une jointure qui se base sur trois tables ou plus
Avez vous une idée ?
Merci,
netsupra[/php]