Could not successfully run query () from DB: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY posicion ASC' at line 1
SELECT id_compania, compania, nombre_compania FROM tbl_compania WHERE activo=1 AND activo=1 AND ORDER BY posicion ASC
SQL Error [256] (1064) You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY posicion ASC' at line 1
Query :
On line 260 in file /controladores/controller_select_compania.php , PHP 5.6.40 (Linux)
Aborting...