Linking with variables
Posted: Fri Jun 21, 2002 4:05 pm
Hey, this must be my like 5th post today!
I'm trying to link to another page, and i need a variable insie the href= and i cant seem to do it. Im trying ot put it inside a echo ' '; that contains other lines of HTML code to, but i cant seem to get $session to show the session id. instead PHP puts the link out like login3.php?$session and thats not how i want it, i want the session id, i have $session assigned with session_id(); so its not that.
I've tried other things too but thsoe have failed. How do i fo it?
Thanks,
Limb
I'm trying to link to another page, and i need a variable insie the href= and i cant seem to do it. Im trying ot put it inside a echo ' '; that contains other lines of HTML code to, but i cant seem to get $session to show the session id. instead PHP puts the link out like login3.php?$session and thats not how i want it, i want the session id, i have $session assigned with session_id(); so its not that.
I've tried other things too but thsoe have failed. How do i fo it?
Thanks,
Limb