title: PHP multiple MYSQL commands in one mysql_query() query
body: <p>I want to issue multiple mysql commands with one mysql_query function.
  This is my code:</p>
  
  <pre><code>$query .= "INSERT INTO `users` VALUES(1,'stack','overflow');";
  $query .= "INSERT INTO `posts` VALUES('other','stack','overflow');";
  mysql_query($query);
  </code></pre>
  
  <p>If I do that I get a warning that my syntax would be incorrect. 
  If I echo the output, copy it and execute it in phpMyAdmin it works.</p>
  
  <p>Where is the error there?</p>