Jump to content

Multiple Accounts with Individual Pages using PHP


skolhustick

Recommended Posts

I need to code a site that has a login script using PHP. I took a look at a lot of tutorials and managed to code the verification scripts. However, after username and password verification, it takes the user to ONE page. The problem is, my website has a specific page for each user. **For example, if USER-A logs in, he goes to PAGE-A, USER-B logs in, goes to PAGE-B etc.** I don't want to put the username and password on the script itself, as it should be in a database (figured out how to create and link one too). **Is there a way, after verifying the username and password, it also knows WHICH page it should show based on a table from a database?** I wanted to use a social network style, but the pages are different from one user to another. I am very new to PHP, and thanks for helping a newbie. 

 


Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.