Bonjour,
je tourne en rond!!!
je n'arrive pas à trouver la syntaxe correcte
Erreur SQL !
SELECT title,city WHERE city LIKE '%antibes%' FROM jos_restaurante ORDER BY city ASC LIMIT0,5
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE city LIKE '%antibes%' FROM jos_restaurante ORDER BY city ASC LIMIT0,5' at line 1
voilà la ligne qui pose soucis:
$sql = "SELECT title,city WHERE city LIKE '%$recherche%' FROM jos_restaurante ORDER BY city ASC LIMIT".$_GET["debut"].",".$nb_affichage_par_page;
si quelqu'un a une idée...merci!
Configuration: Windows Vista
Firefox 3.0.6