title: update two tables at once
body: <p>I'm using 5.1.41-3ubuntu12.10 for my MySQL version.</p>
  
  <pre><code>UPDATE profiledata SET aboutyou = '$aboutyou', quotes = '$quotes' 
  WHERE uid = '$sess_uid'
  </code></pre>
  
  <p>and </p>
  
  <pre><code>UPDATE profileprivacy 
  SET aboutyouPrivacy = '$aboutyouPrivacy', quotesPrivacy = '$quotesPrivacy' 
  WHERE uid='$sess_uid'
  </code></pre>
  
  <p>$sess_uid is the same for both. I was wondering if I could combine both MySQL queries into one mysql_query.</p>
  
  <p>I was thinking it would be something like <code>SET profiledata.aboutyou = 'Just a developer.'</code>, not really sure.</p>