hello in my code i send a bunch of data to the server with the json from the javascript,in the server i will store this data to the mysql database,because i'am going to store the data one rows at a time i want to make the client aware of the progress made in the server side,the code is
for($j=0 ; $j < $number_rows; ++$j){
$result=mysql_query("INSERT INTO table_name(column_name)VALUES('value')");
if(!$result)
//here i want to send the browser that the $j rows is saved and
//that for every iteration
}
so is that possible or the server wouldn't be able to send the data until the script is all terminated.