如果从用户端收到输入并继续循环,我如何打破我的连续循环
<?php
{
//first part of code
}
//endless loop, based on the first part, until an onclick method sends an ajax request?
while (1)
{
...
if ($variable_is_set_by_button_press) break;
}
{
//last part of code giving me some feedback about execution time and such
}
?>
提前致谢