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  <[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]
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://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]

Reply via email to