I have this strange issue when I try to perform a transaction using PHP I get a SQL syntax error. When I echo the query and run it through an SQL validator I get the same error