Jump to content

Updating Multiple columns


fallenangel1983

Recommended Posts

hey guys.

 

just wondering is there a way to update multiple columns in a table in one query?

 

e.g. i need to update date time and description all at the same time.

 

im assuming its something like

 

UPDATE tablename SET DATE ='$newdate' etc etc

 

butim not sure how to word it.

 

would appreciate any help

Link to comment
https://forums.phpfreaks.com/topic/98663-updating-multiple-columns/
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.