MYSQL Car system dosen't save
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
In the mysql logs, the error is in "x" field - the one I told you.

pawn Код:
"INSERT INTO cars (owner,x,y,z,r,model) VALUES (%i,%f,%f,%f,%f,%i)"
Or even like this (only for your current table structure):
pawn Код:
"INSERT INTO cars VALUES (NULL,%i,%f,%f,%f,%f,%i)"
Now i get this
PHP код:
[23:23:10] [ERRORCMySQLQuery::Execute[] - (error #1064) 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 'WHERE id='0'' at line 1 
Reply


Messages In This Thread
MYSQL Car system dosen't save - by malackovgfx - 12.06.2015, 20:50
Re: MYSQL Car system dosen't save - by AndySedeyn - 12.06.2015, 21:03
Re: MYSQL Car system dosen't save - by Konstantinos - 12.06.2015, 21:04
Re: MYSQL Car system dosen't save - by malackovgfx - 12.06.2015, 21:05
Re: MYSQL Car system dosen't save - by malackovgfx - 12.06.2015, 21:09
Re: MYSQL Car system dosen't save - by Konstantinos - 12.06.2015, 21:15
Re: MYSQL Car system dosen't save - by malackovgfx - 12.06.2015, 21:23
Re: MYSQL Car system dosen't save - by AndySedeyn - 12.06.2015, 21:27
Re: MYSQL Car system dosen't save - by malackovgfx - 12.06.2015, 21:29

Forum Jump:


Users browsing this thread: 1 Guest(s)