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.
I've tried with : session_start/register ; setcookie ; global ; static
all this mode will fail !!!
I dont want to make a reconnection to the DB on every page!
In every mode in test2.php the $link is not set
Thank you
-------- TEST.PHP --------
 $link=pg_pconnect("dbname=gestionale user=postgres password=
print "Link -> $link" ;
<a href="test2.php">Test2</a>

-------- TEST2.PHP --------
print "Link -> " . $link ."<BR>";
print "Type of link -> " . gettype( $link ) . "<BR>";

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to