Jump to content

[SOLVED] Combining MySQL UPDATE queries


amites

Recommended Posts

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??

Link to comment
https://forums.phpfreaks.com/topic/89404-solved-combining-mysql-update-queries/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.