SELECT * FROM spectacles_photos WHERE spp_sp_id= AND spp_professionnel = "Non" ORDER BY spp_id ASC LIMIT 0,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 'AND spp_professionnel = "Non" ORDER BY spp_id ASC LIMIT 0,5' at line 1SELECT * FROM spectacles_photos WHERE spp_sp_id= AND spp_professionnel = "Oui" ORDER BY spp_id ASC LIMIT 0,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 'AND spp_professionnel = "Oui" ORDER BY spp_id ASC LIMIT 0,5' at line 1SELECT * FROM spectacles_liens WHERE sl_sp_id= AND sl_professionnel!="Oui" ORDER BY sl_ordre;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 'AND sl_professionnel!="Oui" ORDER BY sl_ordre' at line 1SELECT * FROM spectacles_liens WHERE sl_sp_id= AND sl_professionnel="Oui" ORDER BY sl_ordre;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 'AND sl_professionnel="Oui" ORDER BY sl_ordre' at line 1SELECT * FROM `types_donnees` td, `spectacles_donnees` sd WHERE sd.sd_sp_id= AND sd.sd_td_id=td.td_id ORDER BY sd.sd_ordre;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 'AND sd.sd_td_id=td.td_id ORDER BY sd.sd_ordre' at line 1
Warning: Invalid argument supplied for foreach() in /home/maisondelaculture-amiens.com/vhosts/www/htdocs/www/spectacles/spectacles.php on line 133
Patricia Barber