select * from phantom_commande c inner join phantom_status s on c.status_id=s.status_id and c.status_id in(1,4,5) where userfront_id=
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 '' at line 1