Hi there,
Can anyone tellme what the syntax error is in this code:
$db->query("UPDATE user SET status = 'Y', extend = 'N', expiration_date = DATE_ADD(now(), INTERVAL $res2[months] MONTH), paypal_transaction_id = '$transaction_id[$value]' WHERE user_id = '$value'");
Thank you
Can anyone tellme what the syntax error is in this code:
$db->query("UPDATE user SET status = 'Y', extend = 'N', expiration_date = DATE_ADD(now(), INTERVAL $res2[months] MONTH), paypal_transaction_id = '$transaction_id[$value]' WHERE user_id = '$value'");
Thank you