JS requests to PHP through AJAX. Does PHP response echo represent the end of a request? Can there be multiple echo?
can PHP respond to this AJAX request multiple times?
for example,
PHP:
for($i = 0 ; $i < 200000 ; $i PP){
mission_1()
}
echo ("mission 1 done");
for($i = 0 ; $i < 200000 ; $i PP){
mission_2()
}
echo ("mission 2 done");
this requirement arises because you want to use PHP to populate the MySQL database.
such as an empty database, use PHP scripts to write large amounts of data to the database for testing.
Test database response, test database query speed, and so on.