Mysql Error:
#7

If you don't know how to use MySQL, then don't even try. Go read up on writing a proper MySQL query before you start coding a whole system.

You don't need apostrophe's around all non-string placeholders. Where you have '%d' it should be %d- the same goes for %f, %i, %x, etc. The only time you should surround a placeholder in an apostrophe is if it's a string (i.e. %s).
Reply


Messages In This Thread
Mysql Error: - by Youice - 17.07.2013, 01:18
Re: Mysql Error: - by gtakillerIV - 17.07.2013, 01:25
Re: Mysql Error: - by Youice - 17.07.2013, 01:44
Re: Mysql Error: - by [HiC]TheKiller - 17.07.2013, 01:55
Re: Mysql Error: - by iJumbo - 17.07.2013, 01:58
Re: Mysql Error: - by SchurmanCQC - 17.07.2013, 02:14
Re: Mysql Error: - by Scenario - 17.07.2013, 03:45
Re: Mysql Error: - by SuperViper - 17.07.2013, 04:47
Re: Mysql Error: - by Scenario - 17.07.2013, 04:52
Re: Mysql Error: - by Youice - 17.07.2013, 11:57

Forum Jump:


Users browsing this thread: 2 Guest(s)