Jump to content

vidar42

New Members
  • Posts

    1
  • Joined

  • Last visited

vidar42's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I searched for my issue and I'm sure it's been covered but I can't seem to find it. I'm doing a login form and want to redirect the page to the username after it is validated. Here is the code : header('Location: profile.php?id=' .$_SESSION["username"]); it's not working and it's appending this to the URL : profile.php/?id=testuser I tried escaping the ? and it did the same thing... header('Location: profile.php\?id=' .$_SESSION["username"]); Help please?
×
×
  • 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.