View Full Version : addition update set?

08-28-2011, 06:55 AM
Hello, I have the following code:

$one = 1;

mysql_query("UPDATE members SET offerscompleted=offerscompleted+".$one." WHERE username='".$snuid."'");

and for some reason it adds it to ALL members.. dunno why..

08-28-2011, 07:44 AM
nevermind, it works right.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum