Re: do table alias's work in PHP?
| From: | Johannes Janson | Date: | Wed, 16 May 2001 15:31:43 +0000 |
| Subject: | Re: do table alias's work in PHP? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9352@lists.php.net to get a copy of this message | ||
Hi,
> The following statement will not work:
>
> $sql = "select * from sometable t1, sometable t2 where t1.field1 =
> t2.field2";
do you get an error? It should work.
Johannes