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
;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
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
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
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
>> ---
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
> -
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
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
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
9 matches
Mail list logo