Garage Creation: VIA mysql error
#6

Quote:
Originally Posted by Debjit
Посмотреть сообщение
well you are not passing any value for %d.

PHP код:
mysql_format(g_iHandlequerysizeof query"INSERT INTO `garages` (`gID`) VALUES(%d)"id);
mysql_tquery(g_iHandlequery"OnGarageCreated""d"id); 
Haha thanks. Sorry I haven't scripted in a while and forgetting all the silly stuff. Now it creates a row in the database, but it's not saving anything to it. I'm getting this?

Код:
(error #1064) 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 ''’$' at line 1
Reply


Messages In This Thread
Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 02:58
Re: Garage Creation: VIA mysql error - by Logic_ - 28.04.2018, 02:59
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 02:59
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:10
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 03:12
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:17
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 03:21
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:25
Re: Garage Creation: VIA mysql error - by Zeth - 28.04.2018, 03:35
Re: Garage Creation: VIA mysql error - by Tass007 - 28.04.2018, 03:42

Forum Jump:


Users browsing this thread: 1 Guest(s)