php-db | 2001071
Date: 07/15/01
- Next message: Matthew Loff: "RE: [PHP-DB] PLEASE HELP! Problem with ODBC string insert"
- Previous message: spinel <email protected>: "[PHP-DB] [ANN] MySQLConnect for 4D 1.0 Demo"
- In reply to: Data Project di A.Barbera: "[PHP-DB] lost link to pgsql thru PHP pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Albert
> Hi, i have tried in any mode to pass the link from 1st page where i
make
> the connect
> and the second where the connect is lost.
Not the connection is lost but the variable $link.
You use pg_pconnect which establishes a persistent connection. This
connection is not automatically closed, when the page is left.
You have to pass the variable to the next page, for example with the
url:
<a href="test2.php?link=$link">Test2</a>
Hope it helps
Conni
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Matthew Loff: "RE: [PHP-DB] PLEASE HELP! Problem with ODBC string insert"
- Previous message: spinel <email protected>: "[PHP-DB] [ANN] MySQLConnect for 4D 1.0 Demo"
- In reply to: Data Project di A.Barbera: "[PHP-DB] lost link to pgsql thru PHP pages"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

