amites Posted February 4, 2008 Share Posted February 4, 2008 Anyone know why $query = "UPDATE bil_msg_sent SET active='1', SET payment='CM' WHERE id='".$id_num."'"; and $query = "UPDATE bil_msg_sent SET active='1' WHERE id='".$id_num."'"; would work, yet combining them to $query = "UPDATE bil_msg_sent SET payment='CM' WHERE id='".$id_num."'"; doesn't?? Quote Link to comment Share on other sites More sharing options...
revraz Posted February 4, 2008 Share Posted February 4, 2008 If you gave us the error it would be easier to see why. And I think you have your order mixed up, the top one is the combined one. Quote Link to comment Share on other sites More sharing options...
phorcon3 Posted February 4, 2008 Share Posted February 4, 2008 <?php $query = "UPDATE bil_msg_sent SET active='1', payment='CM' WHERE id='".$id_num."'"; ?> Quote Link to comment Share on other sites More sharing options...
amites Posted February 4, 2008 Author Share Posted February 4, 2008 seems to happen after I've beens staring at code to long, it all starts to blur a little... many thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.