I didn't understand you, the page you pointed is just like your page, record
by record one just after the other. It has only a link to reorder the query
by another field.

HTH

Jayme.

-----Mensagem Original-----
De: olinux o <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: sexta-feira, 23 de março de 2001 12:37
Assunto: Re: [PHP-DB] comparison table script


> You can get an idea here of what I would like to do
>
>
http://www.bestbuy.com/ComputersPeripherals/DrivesStorage/CDRW.asp?m=488&cat
=511&scat=514
>
> So all information is displayed side by side, most of
> the time used to help decide between 2 or 3 products
> [bestbuy limits 10 selections in their comparison]
>
> The array is the part I need help with. I am not sure
> if what I had thought was the right track to pursue.
>
> Thanks much,
> olinux
>
> --- Miles Thompson <[EMAIL PROTECTED]>
> wrote:
> > This isn't going to be the most helpful answer,
> > because I'm wondering why
> > you'd want to do this in the first place.
> >
> > All you really have to do is create a new array from
> > the existing result
> > set, transposing the columns.
> >
> > The number of elements in the array will be the
> > number of car_ID's that are
> > returned, the number of rows in the array will equal
> > the number of
> > attributes (columns) in the result set.
> >
> > Stepping through the result set and building the new
> > array will be a rather
> > interesting exercise in nested loops as you will be
> > repeatedly going
> > through the results set for each of ID, make, model,
> > and color.
> >
> > After this array is built, then I'd worry about
> > displaying it.
> >
> > Before that, however:
> >      Is it so important that the order of display be
> > rearranged? Really,
> > what's the difference?
> >      What if 8 cars are returned instead of 3? What
> > if 20? Your table will
> > blow out to the right, something users don't like.
> >      How do you plan to have users select the cars
> > they want more
> > information about?
> >
> > Only you can answer these, and maybe you have. In
> > which case, good luck.
> >
> > Miles Thompson
> >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to