PHP Newbie Needs Help With Session Variable
Posted: Thu Jul 06, 2006 4:54 pm
Hi everyone,
I need a little help. I am not a PHP developer, but I can read code. I used to do ASP.
I will try ot explain what I need.
===========================================
I want to give my partner a link that carries the id at the end. For example
OR some other form of a string that would pass the variable. This index page is currently HTML only, but I have no problem replacing it with a PHP document.
then I want to store the ID into a session variable.
And then I want to pass the session variable to the hidden form element
===========================================
Can someone please explain how to do that.
I am ok passed the form and what i am doing with the form. I am storing the variables from the form already,,, I just need this one made to work somehow.
Thank you everyone in advance
I need a little help. I am not a PHP developer, but I can read code. I used to do ASP.
I will try ot explain what I need.
===========================================
I want to give my partner a link that carries the id at the end. For example
Code: Select all
http://www.domainname.com/index.php?ID=someidOR some other form of a string that would pass the variable. This index page is currently HTML only, but I have no problem replacing it with a PHP document.
then I want to store the ID into a session variable.
And then I want to pass the session variable to the hidden form element
Code: Select all
<input type="hidden" name="myvar" value="someid">Can someone please explain how to do that.
I am ok passed the form and what i am doing with the form. I am storing the variables from the form already,,, I just need this one made to work somehow.
Thank you everyone in advance