Quote:
Originally Posted by ChrisTERiS
Both are wrong  The query is not completed. Is missing a ." to close the userid=
Try this:
Code:
$db->query_write("UPDATE ".TABLE_PREFIX."microcart_usercoupon SET valid=0 WHERE userid=".$user['userid'].");
Chris
|
Ok, will report back. The original quote was from the standard
cart_gateway.php file though..
are you sure this is correct? doesn't it have to be something like
$db->query_write("UPDATE ".TABLE_PREFIX."microcart_usercoupon SET valid=0 WHERE userid=".$user['userid']."
");
Quote:
Originally Posted by ChrisTERiS
The value of userid is missing.
Chris
|
Proobably because the sql-query in question was wrong? :P