From: "Jack van Zanen" <[EMAIL PROTECTED]>
> I have installed MYSQL 4.1 with support for derived tables. If I query
> with a query that has a subquery in the from clause it works fine. If I
> load this query in PHP I get invalid resource error. If I change the
> for another select w/o the subquery it works fine (So my php script must
> correct).
> Does PHP do syntax checking before sending the query to mysql?
> Any other solution?
> I have tried PHP 4.3.2/4.3.3 & 5.0

What does mysql_error() say?

---John Holmes...

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to