Can't get multiple fields to update. This is the code I was using:
This works for a single field:
$sql2 = "UPDATE active365 SET payment_status= $payment_status WHERE custom = '$custom'";
So does this:
$sql2 = "UPDATE active365 SET active= 'Y' WHERE custom = '$custom'";
But when I try this code for multiple fields it doesn't work also doesn't error:
$sql2 = "UPDATE active365 SET payment_status= $payment_status, active='Y' WHERE custom = '$custom'";
any suggestions?