On Friday 22 November 2002 15:44, Kris wrote:
> Hi All
>
> I want to send variables from one page to another page.
> How can I go about this???
>
> I don't want to use a form. Or if using a form I don't want the user to
> have to hit the submit button.
Use sessions, or pass the variables around vi
Use the pconnect functions. These do exactly that.
eg. mysql_pconnect() at the top of your page, and it will re-use the
database connection for you.
mysql_close() won't close a permanent connection.
Please don't post general questions to the php-dev list. This is for
development OF PHP, no
;php-general-list"
> <[EMAIL PROTECTED]>; "php-dev-list" <[EMAIL PROTECTED]>;
> "php-db-list" <[EMAIL PROTECTED]>
> Sent: Friday, January 04, 2002 12:38 PM
> Subject: RE: [PHP] Sending variables between PHP pages
>
>
> > >> Yes, than
>;
"php-db-list" <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 12:38 PM
Subject: RE: [PHP] Sending variables between PHP pages
> >> Yes, thanks a lot, but i need to mantain the connection open for manage
a
> >> transaction, an everytime that I open a new d
>> Yes, thanks a lot, but i need to mantain the connection open for manage a
>> transaction, an everytime that I open a new database connection,
>> the system
>> begins a new transaction and I lose the last one.
>> Do you understand, me?
>> Do you know the way for do that?
I think it is imposimbl
>> 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 yo
Check your global_vars with
Change it in the php.ini displayed there if it's off.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message ---
7 matches
Mail list logo