title: How do you do multiple SQL statements in one mysql_query?
body: <p>Say I wanted to do <code>UPDATE table SET name = 'bob'</code> and <code>UPDATE table SET age = 55 WHERE name = 'jim'</code> how do I do them in the same mysql_query()?</p>
  
  <p><strong>EDIT:</strong> Since this question has a fair amount of views I'd like to point out that as of PHP 5.5 <code>mysql_query</code> and other <code>mysql_*</code> functions are now deprecated and shouldn't be used.</p>