Simple code

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
Skeletor
New php-forum User
New php-forum User
Posts: 147
Joined: Tue Nov 19, 2002 7:47 am
Location: US, Ohio
Contact:

Tue Mar 25, 2003 4:58 am

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

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Bing [Bot] and 4 guests