A PHP Error was encountered

Severity: Notice

Message: Undefined index: secteur_id

Filename: controllers/formations.php

Line Number: 75

Database Error

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 position' at line 10

SELECT secteur_id, secteur_name, contact_id, secteur_url, image, table_name FROM efc_secteurs WHERE secteur_parent_id = ORDER BY position

Filename: /home/espacefoz/www/models/formations_model.php

Line Number: 110