Jump to content

Archived

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

webtrix

How is it done?? sending people to a database defi

Recommended Posts

How is it done?? sending people to a database defined url.

 

Idea is that people log in with username and password, and from that get a level of access so it´s controlled what they are alled to see this much i do have down. But i want them to be directed after pressing login to a specified page. So table 1 in the database has the username, password and level and table 2 in the same database has the url they are to be sendt to.. how is it done to send people to the link / url stated in the database table 2.

 

Hope to get some replies.. and if any questions please write me for more information

Share this post


Link to post
Share on other sites

This is the code used to redirect someone. Just insert the $variable in place of <new page>

 

 

<?php

Header ("Location: <new page>");

?>

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.