On Tue, 2 Apr 2002 18:27:40 +0300, Maris Kalnins <[EMAIL PROTECTED]> wrote: > $cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw); > > But unfortunately connection closes automatically when script is done! > What must I do to keep connection alive and be able to use $cx again and > again without connectign?
You would notice that the connection on a server does not close after your script with *_pconnect is done! Instead, next time you call your script with *_pconnect the same connection _is_ being used! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php