Simple code

A

Anonymous

Guest
This should be enough to get you pointed in the right direction.

to connect and search the database, you will have to use functions like:
mysql_connect();
mysql_select_db();
mysql_query();
etc...
These can all be found in the documentation at http://www.php.net

Once you find and retrieve the url from the database, you could redirect them to that url with the header(); function, such as:
header("location: http://www.link.com");
quit();
 
Back
Top