Re: lost link to pgsql thru PHP pages
| From: | Cornelia Boenigk | Date: | Sun, 15 Jul 2001 23:45:58 +0000 |
| Subject: | Re: lost link to pgsql thru PHP pages | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10419@lists.php.net to get a copy of this message | ||
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