Re: [PHP] Loss of connection handle object

2001-03-02 Thread Yasuo Ohgaki
tion in open() is :Resource id #2 > Resource id #2 > The connection in executeQuery() is :'Resource id #2' > Object > > > So in other words, the one using the encapsulator doesnt work - it seems to > lose $this->connection in PostgreSQLDataSource w

Re: [PHP] Loss of connection handle object

2001-03-01 Thread Andrew Halliday
;Andrew Hill" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 02, 2001 12:18 PM Subject: Re: [PHP] Loss of connection handle object > Well, you already have code to PostgreSQLDataSource ... the other object > just encapsulates it ... > > ok heres s

Re: [PHP] Loss of connection handle object

2001-03-01 Thread Andrew Halliday
ly screwing me here ... AndrewH ----- Original Message - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Andrew Halliday" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 02, 2001 11:53 AM Subject: Re: [PHP] Loss of connection handle object

Re: [PHP] Loss of connection handle object

2001-03-01 Thread Andrew Halliday
ce id #1 The connection in executeQuery() is :'Resource id #1' Warning: 1 is not a valid PostgreSQL link resource in /var/wwwroot/php/PostgreSQLDataSource.php on line 67 Object ---------- WHAT THE HELL IS GOING ON ?!?!?!?! AARGH! AndrewH - Original Message

Re: [PHP] Loss of connection handle object

2001-03-01 Thread Andrew Hill
t;[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Friday, March 02, 2001 11:13 AM > Subject: Re: [PHP] Loss of connection handle object > > >> Andrew, >> >> What is the open() function? >> >> Best regards, >> Andrew >> ---

Re: [PHP] Loss of connection handle object

2001-03-01 Thread Simon Garner
From: "Andrew Halliday" <[EMAIL PROTECTED]> > Okay - Im writing an object to wrap a database. > The key problem is this: > - it declares a connection var as an object property > - the open() function opens the connection to the database and stores > the handle in $this->connection > -

Re: [PHP] Loss of connection handle object

2001-03-01 Thread Andrew Halliday
age - From: "Andrew Hill" <[EMAIL PROTECTED]> To: "Andrew Halliday" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 02, 2001 11:13 AM Subject: Re: [PHP] Loss of connection handle object > Andrew, > > What

Re: [PHP] Loss of connection handle object

2001-03-01 Thread Andrew Hill
Andrew, What is the open() function? Best regards, Andrew --- Andrew Hill - OpenLink Software Director Technology Evangelism eBusiness Infrastructure Technology http://www.openlinksw.com On 3/1/01 7:27 PM, "Andrew Halliday" <[EMAIL PROTECTED]> wrote: > Ok

[PHP] Loss of connection handle object

2001-03-01 Thread Andrew Halliday
Okay - Im writing an object to wrap a database. The key problem is this: - it declares a connection var as an object property - the open() function opens the connection to the database and stores the handle in $this->connection - the executeQuery() method complains about not having a v