MySQL Fatal Error
MySQL Error!
MySQL error in file: /investor_protection/insurance.php at line 10
Error Number: 1064
The Error returned was:
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 'AND dle_orders.type=1 AND dle_projects.status=1 GROUP BY dle_orders.title_pro...' at line 1
SQL query:

SELECT dle_orders.title_project FROM dle_orders INNER JOIN dle_projects ON dle_orders.title_project=dle_projects.title WHERE (dle_orders.status=1 OR dle_orders.status=5) AND dle_orders.id_user= AND dle_orders.type=1 AND dle_projects.status=1 GROUP BY dle_orders.title_project