title: i need to insert values into two different table with single query
body: <p>How do I join these two queries and execute them as a single query to insert values in two tables:</p>
  
  <pre><code>$sql = mysql_real_escape_string('INSERT INTO admin_export(datetime, product_name, item_code,quantity,subject,export_no) VALUES').implode(',', $row_data);
  $sql2 = "insert into `itflower_exportno` (admin_exportno) values('$exportno1')";
  </code></pre>