[Help] Mysql Error
#9

Quote:
Originally Posted by Tee
Посмотреть сообщение
Yea the last one will get queried, the first one won't.
I think that you don't understand what I'm doing in the code.

You have to send only one query to the DB, you are sending two different queries that they are wrong:

You must send something like that: UPDATE tablename SET values WHERE condition.

1st. You are sending: UPDATE tablename SET values.
2nd. You are sending: values WHERE condition.

As you can see, in my code the first Query is added in the second one at the beginning, so both are at the same string/query.
Reply


Messages In This Thread
[Help] Mysql Error - by tony_fitto - 15.09.2011, 20:06
Re: [Help] Mysql Error - by tony_fitto - 17.09.2011, 16:00
Re: [Help] Mysql Error - by BlackBank - 17.09.2011, 16:03
Re: [Help] Mysql Error - by Pasa - 17.09.2011, 16:17
Re: [Help] Mysql Error - by austin070 - 17.09.2011, 16:40
Re: [Help] Mysql Error - by tony_fitto - 17.09.2011, 18:10
Re: [Help] Mysql Error - by Xyrex - 17.09.2011, 20:38
Re: [Help] Mysql Error - by Tee - 17.09.2011, 21:25
Re: [Help] Mysql Error - by Xyrex - 17.09.2011, 21:48
Re: [Help] Mysql Error - by Tee - 17.09.2011, 22:11

Forum Jump:


Users browsing this thread: 1 Guest(s)