Re: getting rows from multiple tables into a single array ? (newbie, mysql)
| From: | Johannes Janson | Date: | Tue, 24 Apr 2001 22:06:09 +0000 |
| Subject: | Re: getting rows from multiple tables into a single array ? (newbie, mysql) | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-8853@lists.php.net to get a copy of this message | ||
Hi,
>
> $sql4="select * from quicktimes, other_images, storyboards, where
> quicktimes.spot_id, other_images.spot_id, storyboards.spot_id =
> \"$spot_id\" order by date_posted desc";
>
this should be:
...WHERE quicktimes.spot_id = '$spot_id', other_images.spot_id = '$spot_id'
storyboards.spot_id =
'$spot_id'order by date_posted desc";
Johannes