SELECT MO_ID, MO_MODEL , MA_MARQUE, MOT_TYPE_MOTEUR, MO_CYLINDREE ,MO_COUPLE_MAXI, MA_LOGO, MO_PUISSANCE_MAX, REPLACE(MO_COUPLE_MAXI, ' a', 'mkg à') as COUPLE_MAX, REPLACE(MO_PUISSANCE_MAX, ' a', 'chevaux à') as HORSEPOWER_MAX, MA_ANNEE_CREA, MO_NEW , MA_ID FROM v_models_V2, v_marques, v_moteur WHERE MO_ID_MA=MA_ID AND MO_ID_MOT=MOT_ID AND ( MO_NEW = 1 OR MO_NEW = 2) AND MO_DATE_MAJ < sysdate() order by MO_ID desc
Fatal error: Uncaught exception 'Exception' with message 'Commande invalide...' in /homepages/24/d232122261/htdocs/rsiauto/include/fonctions_mysql.php:32 Stack trace: #0 /homepages/24/d232122261/htdocs/rsiauto/rss/news-rss.php(10): TDBObject->fExecQuery('SELECT MO_ID, M...') #1 {main} thrown in /homepages/24/d232122261/htdocs/rsiauto/include/fonctions_mysql.php on line 32