0
When executing this query:
mysqli_query($dbc, "insert into toons values(NULL, $toonId, '$toonName', $admin, '$dna', $bank, $money, $hp, '$inventory', $lastPlace)")
I get this mistake:
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
What is causing this?
Check that money is formatted with comma (,).
– Daniel Bastos
Yes it is, as you can see in the code.
– Junior CT
Related, Formatting of php numbers
– rray