title: Update all rows in a MySQL table using single query
body: <p>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 <code>table</code> using single Update Query in PHP. Let's Suppose I have the table like given below</p>
  
  <pre><code>id |  heading  |  description
  ---------------------------
  1    heading1    desc1
  
  2    heading2    desc2
  
  3    heading3    desc3
  </code></pre>
  
  <p>Now I want to update the <code>heading, description</code> 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.</p>