I want to update multiple rows in one query , for example like this:as with the following code.
db_query("update bestsellers set count = 4 where product_id = 30;update30; update bestsellers set count = 5 where product_id = 32;update32; update bestsellers set count = 1 where product_id = 34;")->execute();
ButThe server returns a 500 error. I think it doesn't work , server can't process .Is there any way to achieve this?