recherche

‘;
echo ‘Nous consulter – Formations organisées à la demande.’;
}
$result = mysql_query($query, $link);
if (!$result) {
echo ‘Erreur MySQL : ‘ . mysql_error();
exit;
}

while ($row = mysql_fetch_assoc($result)) {
$id= $row['object_id'];

$query2 = ‘SELECT post_name, post_title FROM 06_posts WHERE ID =’.$id; //donne le location href
$result2 = mysql_query($query2, $link);
if (!$result2) {
echo ‘Erreur MySQL : ‘ . mysql_error();
exit;
}
while ($row2 = mysql_fetch_assoc($result2)) {
echo ‘
‘.$row2['post_title'].’‘;

}

}

}

?>