[ MySQL ] Query Error
#3

PHP код:
mysql_format(SQLquerysizeof query"UPDATE `%s` SET `%s`='%d' WHERE `%s`=%d"tablecolumnvaluesqlIDsqlid); 
You forgot to pass the value that you wanted to be updated

Quote:
Originally Posted by StRaphael
Посмотреть сообщение
Try:
PHP код:
mysql_format(SQLquerysizeof query"UPDATE `%s` SET `%s`='%d' WHERE `%s`='%d'"tablecolumnsqlIDsqlid); 
That does same thing but worst, it will not gonna use the index for the sqlID so it makes it a bit slower
Reply


Messages In This Thread
[ MySQL ] Query Error - by IdonTmiss - 20.12.2018, 12:11
Re: [ MySQL ] Query Error - by StRaphael - 20.12.2018, 13:37
Re: [ MySQL ] Query Error - by Banditul18 - 20.12.2018, 13:50
Re: [ MySQL ] Query Error - by sammp - 20.12.2018, 15:25
Re: [ MySQL ] Query Error - by IdonTmiss - 20.12.2018, 19:40

Forum Jump:


Users browsing this thread: 1 Guest(s)