Variable disappears when I log in
- by John
Hello,
I have profile page where the profile is retrieved via GET. The index file has this:
$profile = $_GET['profile'];
When I log in on the profile page, the $profile variable disappears. Here is the form action on the login function:
<form name="login-form" id="login-form" method="post" action="./index.php">
(The $profile variable is separate of the login username.)
How could I make the page retain the $profile variable?
Thanks in advance,
John