View Full Version : query not working . cant work out why

08-05-2011, 07:16 PM
the top query works no problem .
second one does not update the database.

$res=mysql_query("UPDATE lotto SET jackpot='".($lot[0]+10)."'");
$res=mysql_query("UPDATE users SET lotto='1' WHERE id='".$who."'");

any ideas. ??

08-05-2011, 07:34 PM
fixed it myself .topic closed

08-05-2011, 08:53 PM
Please post the solution to the problem.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum