$query1 = "SELECT * FROM idevaff_affiliates";
$affiliateID = mysql_query($query1) or die(mysql_error());
This is my request above - I would like to use it for two WHILE loops
The first in the header section is jquery setup
while($row = mysql_fetch_assoc($affiliateID)){
}
The second is used in a while loop in the body
while($row = mysql_fetch_assoc($affiliateID)){
}
Why can't I make it work? โI got this, but I had to make two queries using the same SELECT information using two different variables.โ
source
share