Do you understand enough to copy & change a php script?
PHP Code:
<?
$db = mysql_connect("localhost", "username", "password");
if (!$db) { echo( "<P>Unable to connect to the " . "database server at this time.</P>" ); exit();}
mysql_select_db("database_name", $db);
$result1 = mysql_query("SELECT * FROM redirect_links where LinkID = '$LinkID'", $db);
if (!$result1) { echo("<P>Error performing query: " . mysql_error() . "</P>");
exit();
}
$numResults = mysql_num_rows($result1);
if($numResults != 0){
while($list = mysql_fetch_array($result1)){
$url = $list[url];
}
}
mysql_free_result($result1);
header("Location: $url");
?>
Bookmarks