I got it to work... nvm.. thanks anyway and I'll try using || instead of | to see if that works too
PHP Code:
if ($checkclosed==1) { if ($paidfor==0){ $winningamounts=getSqlField("SELECT winamount FROM probid_auctions WHERE id='".$_GET['id']."'","winamount"); $newb= $winningamounts + $upbalance; mysql_query("UPDATE probid_users SET accountbalance='$newb' WHERE id='$winauctions'"); mysql_query("UPDATE probid_auctions SET paidfor='1' WHERE id='".$_GET['id']."'"); } } else {
that's what I was supposed to do
|