How to implement two queries within one MySQL statement?
<p>how to implement two queries within one MySQL statement? </p>

<p>for example coding</p>

<pre><code>&lt;?php var query=mysql_query("INSERT INTO adminDetails (user_name) VALUES ('uma');SELECT * FROM adminDetails");
?&gt;
</code></pre>

<p>The above sql is giving result.but i used the same concept in below statement but it is not working </p>

<pre><code>&lt;?php
mysql_query("INSERT INTO adminDetails (user_name) VALUES ('uma');UPDATE domainname SET email='ragu@gmail.com' where id='18'") 
?&gt;
</code></pre>
