RE: [PHP] Sending variables between PHP pages

From: Date: Fri, 04 Jan 2002 11:14:09 +0000
Subject: RE: [PHP] Sending variables between PHP pages
References: 1  Groups: php.db php.dev php.general 
Request: Send a blank email to php-dev+get-75866@lists.php.net to get a copy of this message
>> 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? I don't think one can do that. There is NO need for that. You can write header.php file and include it in the beginning of each PHP page where you need db connection and footer.php which you can include at the bottom of each page with XXXXX_close() function in it.

« previous php.dev (#75866) next »