Remember it only works on PHP4.0 !
HTH.
Jayme.
-Mensagem Original-
De: olinux <[EMAIL PROTECTED]>
Para: PHP-DB <[EMAIL PROTECTED]>
Enviada em: sexta-feira, 23 de março de 2001 23:38
Assunto: Re: [PHP-DB] comparison table script
> Cool!
> Just came across this, l
t;abc"; $a[1]="def";
After an array_flip() you get:
$a["abc"]=0; $a["def"]=1;
gotta love it!
olinux
> De: olinux <[EMAIL PROTECTED]>
> Para: <[EMAIL PROTECTED]>
> Enviada em: sexta-feira, 23 de março de 2001 12:37
> Assunto: Re: [PHP-DB] co
a 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
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 comparis
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
ROTECTED]>
Para: <[EMAIL PROTECTED]>; PHP-DB <[EMAIL PROTECTED]>
Enviada em: sexta-feira, 23 de março de 2001 00:52
Assunto: [PHP-DB] comparison table script
I would like to make a comparison script that will compare two items. Here
is an example and my "halfway" there soluti
I would like to make a comparison script that will compare two items. Here is an
example and my "halfway" there solution. [at least i think so
Here is my table [for the sake of this example]
+-+
| car_ID |make | model | colo