Thread: PSQL only one query per page

PSQL only one query per page

From
Stefan Gastaldon
Date:
I know someone is just gonna tell me the answer to this one.

I'm doing 2 queries on a page.

And the second one always returns an error like this
Warning: 1 is not a valid PostgreSQL link resource in /path/to/file.php4 on line **

I tried switching the queries around, same result for the second one again.

what's uh, the deal?


Re: PSQL only one query per page

From
"Dan Wilson"
Date:
Not enough detail.  You need to show us the offending code.  Most likely
this is a mis-typed variable or something of that nature.

-Dan

----- Original Message -----
From: "Stefan Gastaldon" <stefang@bundabergcity.qld.gov.au>
To: <pgsql-php@postgresql.org>
Sent: Tuesday, January 16, 2001 11:04 PM
Subject: [PHP] PSQL only one query per page


> I know someone is just gonna tell me the answer to this one.
>
> I'm doing 2 queries on a page.
>
> And the second one always returns an error like this
> Warning: 1 is not a valid PostgreSQL link resource in /path/to/file.php4
on line **
>
> I tried switching the queries around, same result for the second one
again.
>
> what's uh, the deal?
>