Re: comparison table script

From: Date: Sat, 24 Mar 2001 13:36:27 +0000
Subject: Re: comparison table script
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-7754@lists.php.net to get a copy of this message
Remember it only works on PHP4.0 ! HTH. Jayme. -----Mensagem Original----- De: olinux <olnx@yahoo.com> Para: PHP-DB <php-db@lists.php.net> Enviada em: sexta-feira, 23 de março de 2001 23:38 Assunto: Re: [PHP-DB] comparison table script > 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 > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#7754) next »