Jump to content

Help with URL


takn25

Recommended Posts

Hi, what i am trying to achieve, is when a user Logs In my website they are redirected to their own profile page. I have created profile pages, the place where i am stuck is the URL. Currently when the user logs in my website the URL shows as example www.mysite.com/home.php  but what i am after is something like

http://www.mysite.com/index.php?id=5.  Where id is unique for each user, and finally i would like users to see each others profile page thanks.

I can not get the ID  to show in the URL. Please kindly help with what i need to do a bit of code for me to learn from would be appreicated thanks

The method i am using for the form is POST so clearly it wont show anything in the URL.

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.