Page 1 of 1
Passing variable through pages
Posted: Wed Aug 28, 2002 9:29 am
by gastonlm
I have a variable called $sql in a page and I want to pass it to another page by submitting the page. Is it possible to do it if the variable isn't a field and I don't want to pass it as a querystring??
I'm trying to do paging, so I want to pass the sql statement through pages. I know that there are some classes but I couldn't get anyone.
Posted: Wed Aug 28, 2002 9:34 am
by theChosen
Posted: Wed Aug 28, 2002 9:37 am
by theChosen
Thanks
Posted: Wed Aug 28, 2002 9:47 am
by gastonlm
Thanks for your help!!! It was useful.
Posted: Wed Aug 28, 2002 10:08 am
by kcomer
may also want to think about using a db to hold the session variables. Just incase the user has cookies turned off or they are behind a firewall/proxy server that blocks them. This is becoming more and more common. Juts a thought.
Keith
Posted: Wed Aug 28, 2002 10:11 am
by volka
if using a database the information which data is related to a user must be transfered, too.
If cookies are blocked session-handling in php supports passing the session-id via 'GET'.