Thanks for your message.
I managed to make it work finally with smh like that:
$query="select COUNT() from
$count = mysql_fetch_array(mysql_query($query));
$count = $count;
var_nr_bob = "<?php echo $var_nr_bob; ?>";
array_nr_bob = new Array();
array_nr_bob = var_nr_bob.split(":#:");
for (var i=0;i<<?php echo $count;?>;i++)
As I said in my previous post, my add form inserts the record into table and the code above shows all the records from my table. When I click the show button it works, but if I add another record, it won
t work anymore. If I reload the page and click button again it will put in place all the records, including the new-added record. I searched on the web and I found that it may work with AJAX request. I have to put php code to an external file and make AJAX request. Can you help me with this one? Im stuck.