When connecting to database (Sybase) through ODBC it takes some time to
establish odbc connection with:

$cx=odbc_pconnect($G_dbname, $G_dblogin, $G_dbpassw);

And only after that I am able to access data through SQL Selects

The problem is that every time the script is finished this connection is
automatically closed,
how to keep it open after displaying a page - no idea ...

How about using MySql in this situation?
There will be no need to waste time connecting to ODBC every time,
is it really so? could this be faster?

is there any idea how to keep ODBC connections open after script is

Any other solutions?


P.S. I tried to use Sybase funcitons.. but it says - that they're not
defined or something like that..

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to