Re: Sending variables between PHP pages

From: Date: Fri, 04 Jan 2002 11:39:50 +0000
Subject: Re: Sending variables between PHP pages
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-15377@lists.php.net to get a copy of this message
On Friday 04 January 2002 13:15, you wrote: > Hi users, > > how can I send a connection database variable, from one PHP page to other > PHP page, and maintance the database connection open during both pages? > > Thanks This is exactly what I've been fighting with for quite some time. Actually, what I did was, session_register username and password and the required variables and reconnect to the db when needed. Not quite the most elegant way of solving the problem, but it works... If anyone has got a better way of doing it, I'd be more than happy to hear about it. Cheers, Markus -- Markus Lervik Linux-administrator with a kungfoo grip Vaasa City Library - Regional Library markus.lervik@vaasa.fi +358-6-325 3589 / +358-40-832 6709

« previous php.db (#15377) next »