problem in MySQL UPDATE
#2

It's tricky if you encounter it for the first time:
pawn Код:
, `p_hours` =%d\
                          WHERE `ID`=%d",
Because of the "\" line break, the indentation in next line is ignored, so your query looks like
Quote:

`p_hours`=1231321WHERE `ID`=1234124

Add space before last "\"
Reply


Messages In This Thread
problem in MySQL UPDATE - by amirab - 05.03.2015, 10:13
Re: problem in MySQL UPDATE - by Misiur - 05.03.2015, 10:33
Re: problem in MySQL UPDATE - by amirab - 05.03.2015, 10:41

Forum Jump:


Users browsing this thread: 1 Guest(s)