Jump to content

[SOLVED] Multi record update


Stephen68

Recommended Posts

Hello all!

 

I was wondering if you could do a multi line update with the WHERE clause, like.

 

UPDATE table SET field='true' WHERE id='3,4,5,'

 

I know this will not work because I tested it but can you do something along those lines?

Any help would be greatly appreciated.

 

Cheers!

Stephen

Link to comment
https://forums.phpfreaks.com/topic/78733-solved-multi-record-update/
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.