I am wondering from 2 days but didn't get any suitable solution for my problem. I am working on a project and here I stuck on updating all rows of a MySQL table using single Update Query in PHP. Let's Suppose I have the table like given below
id | heading | description
---------------------------
1 heading1 desc1
2 heading2 desc2
3 heading3 desc3
Now I want to update the heading, description fields using single update query. how will I loop the form for this ? can somebody suggest the easy and most efficient way to do this.