Ok, here is what you want to do. Set up your database structure like something similar. Just run it through phpmyadmin.
mysql_query ("CREATE TABLE `YOUR TABLE NAME` (
`id` VARCHAR( 100 )DEFAULT '' NOT NULL,
`homepage` VARCHAR( 100 )DEFAULT 'http://' NOT NULL ,
`name` VARCHAR( 100 )DEFAULT '' NOT NULL
)");
Then on the go.php page do something like this:
$id = $_GET['id'];
$select = mysql_query( "SELECT * FROM YOUR TABLE NAME WHERE id='$id'");
$totalrows = mysql_num_rows($select_prod);
if($totalrows==0){echo"<br><br><p align=\"center\">The site you are trying to view no longer exists in our database!</p>";}
if($totalrows!==0){
while ($row = mysql_fetch_array($select_prod))
{
$name = $row["name"];
$homepage = $row["homepage"];
echo "<meta http-equiv=\"refresh\" content=\"5;URL=$homepage\">";
echo "You will be directed to $name in 5 seconds <br> If it does not work, then click <a href=\"$homepage\">HERE!</a>";
}
Let me know if that helps any,
-Blake