im looking to send data to another page yet not break a while loop.
The other page needs to take the data and submit it to another script on an external site.
All this needs to be done whilst the loop is still continuing.
any ideas on commands? or how to do this?
Ive done this but it breaks the loop i need to call a script in a different page so i can continue the while loop any ideas?
Code: Select all
$lookq = "SELECT * FROM adr2";
$lookr = mysql_query($lookq);
while ($lookrow = mysql_fetch_array($lookr))
{
$email = $lookrow["email"];
header("Location: http://mysite.co.uk/user-sub.php?referr ... ail=$email");
}