RE: [PHP] collapse SELECT from multiple tables
| From: | Chris W. Parker | Date: | Thu, 24 Mar 2005 21:02:12 +0000 |
| Subject: | RE: [PHP] collapse SELECT from multiple tables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-211520@lists.php.net to get a copy of this message | ||
David Christensen <mailto:davidc@connect4less.com>
on Thursday, March 24, 2005 12:34 PM said:
> I don't know how to say it any plainer than that.
>
> The original post would have produced the following:
>
> 1, 'joe', 'part1'
> 1, 'joe', 'part2'
> 1, 'joe', 'part3'
>
> but what I'd like to get is:
> 1, 'joe', 'part1, part2, part3'
I think this is the explanation we needed.
Serious question: Is it that you want someone to write the loop for your
do you just need some ideas?
> Thanks for your help. I think I may have to redesign this thing to
> make this easier or I maybe I just don't have the vocabulary to ask
> the question correctly.
A redesign sounds good. Maybe instead of trying to make an oddly
structured array you can instead adjust the code that receives the array
to receive the unmodified array?
Chris.