sql : SELECT DISTINCT iddirection, concat( ligne.libelle, '->', direction.vers ) ,ligne.idligne, categorie.libelle as categorie FROM direction JOIN ligne ON direction.ligne_idligne = ligne.idligne LEFT JOIN categorie ON idcategorie = categorie_idcategorie where direction.periode_idperiode= order by categorie.ordre,ligne.tri;
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 categorie.ordre,ligne.tri' at line 1
Warning: Missing argument 1 for q_error() in /data/html/trace/www2/trace/lib/myquery.php on line 54

Fatal error: Call to a member function on a non-object in /data/html/trace/www2/trace/lib/myquery.php on line 58