Hi Marc,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
this is not done in an Ajax way as you are reloading the whole<br>
db_structure.php.<br>
<br></blockquote><div>I'm not reloading the whole page. I just reload the "#tabelsForm" by using this. </div><div>$("#tableslistcontainer").load(db_structure_url+ " #tablesForm", function(){});</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
When tbl_replace.php is called, the ajax_request parameter is set to<br>
true so the script knows it's running in an Ajax context. So after it<br>
does its job of inserting the row, would be a good time to count the rows.<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br></div><div>Okay thanks for the information and I'll try that out. </div></div><br clear="all">Regards,<div>Thilanka.</div><div><br>-- <br><div><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px"><div style="text-align:left">
L G Thilanka Kaushalya     <br>Computer Science & Engineering,    <br><div style="color:rgb(80, 0, 80)">University of Moratuwa,<br>Sri Lanka<span></span><br>                          <br></div></div>Connect with me at,<br>
      Gmail        : <a href="mailto:lgtkaushalya@gmail.com" style="color:rgb(0, 0, 204)" target="_blank">lgtkaushalya@gmail.com</a><br>      Twitter       : @thilanka_k<br>      Facebook  : Thilanka Kaushalya<br>      Yahoo       : <a href="mailto:lgtkaushalya@yahoo.com" style="color:rgb(0, 0, 204)" target="_blank">lgtkaushalya@yahoo.com</a></span></div>
<div>      Blog          : <a href="http://coders-view.blogspot.com/" target="_blank">http://coders-view.blogspot.com/</a></div><br><br>
</div>