Re: comparison table script
| From: | olinux | Date: | Sat, 24 Mar 2001 02:38:50 +0000 |
| Subject: | Re: comparison table script | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7742@lists.php.net to get a copy of this message | ||
Cool!
Just came across this, looks like PHP will make life simple.
http://www.php.net/manual/en/function.array-flip.php
Array_flip() returns an array in flip order.
Example 1. Array_flip() example
$trans = array_flip ($trans);
$original = strtr ($str, $trans);
example:
$a[0]="abc"; $a[1]="def";
After an array_flip() you get:
$a["abc"]=0; $a["def"]=1;
gotta love it!
olinux
> De: olinux <olnx@yahoo.com>
> Para: <php-db@lists.php.net>
> 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]
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com