Une erreur de la base de données s'est produite.

Error Number: 1064

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 'ORDER BY rand()' at line 7

SELECT * FROM (`spectacles`) WHERE `cat_projet` IS NULL AND `cat_affiche` IS NULL AND `cat_passees` IS NULL AND `id_spectacle` != ORDER BY rand()

Filename: /home/nz3px6zb/public_html/core/MY_Model.php

Line Number: 88