> [snip]
> I then have the page main.php which has
>
> global $sys_dbhost,$sys_dbuser,$sys_dbpasswd;
> $dbconn = pg_connect("user=$sys_dbuser dbname=bisprojects
> host=$sys_dbhost password=$sys_dbpasswd"); echo '->'.$dbconn.'<-'; ?>
>
> the scripts just dies whenever I include the pg_connect funct
[snip]
I then have the page main.php which has
'.$dbconn.'<-'; ?>
the scripts just dies whenever I include the pg_connect function... if I
change
echo '->'.$dbconn.'<-';
to
echo '->==='.$dbconn.'<-';
I'll still see -><- on my page
if I remove the pg_connect function, I'll see
->===<-;
> [snip]
> I'm trying to add some new features to an existing project. The project
> uses pg_pconnect and sets it into a global var...
>
> What I'm trying to do is to create a new database class which connects
> to a different database on the same server. By the time my code gets
> reached, the p
On Thu, 14 Oct 2004 14:30:18 -0500 (CDT), Jonathan Villa <[EMAIL PROTECTED]> wrote:
> I'm assuming that I need to close the persistent connection before I can
> open a new one, but from my understanding, persistent connections cannot
> be closed...
That is true for all persistant db connection fun
[snip]
I'm trying to add some new features to an existing project. The project
uses pg_pconnect and sets it into a global var...
What I'm trying to do is to create a new database class which connects
to a different database on the same server. By the time my code gets
reached, the pg_pconnect gl
I'm trying to add some new features to an existing project. The project
uses pg_pconnect and sets it into a global var...
What I'm trying to do is to create a new database class which connects to
a different database on the same server. By the time my code gets
reached, the pg_pconnect global va
6 matches
Mail list logo