Jump to content


This topic is now archived and is closed to further replies.


browser redirect

Recommended Posts

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");

$list ="<html>";

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.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.