How to update the same batch id's in two different tables in mysql?
<pre><code>$save= mysql_query("update students set bid=(select bid from batches 
    where batches.start_date=students.start_date)"); 
</code></pre>

<p>I am using this... 
please help me.</p>
