I'm trying to redirect the browser by inputing a dynamic URL from a database. Here is the code after the database login procedure.
or die("Could not execute query");
while($row= mysql_fetch_array($rs) )
$list.="<meta HTTP-EQUIV=Refresh CONTENT='1;URL=".$row["productlink"]."></html>";
What happens is the browser looks like it's in an endless loop. I'm guess there is a better way to do this. ANy ideas?
Thanks in advance.
1 reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users