So, I have a small script that does a lot of actions very fast. However, I am wondering about a small piece of it, and whether it will work or not. Example:
PHP Code:
while ($blah=mysql_fetch_array($blahs)) { //Do something to all $blahs } header("Location: index.php?success");
Basically the script does a large amount of queries to the database inside that while, which each need to be done separately. However, my question is: will the redirect fire before the script is done processing the while? Obviously I don't want the script to be cut off
Thanks!
-PG
|