Re: multi dimetional arrays in functions

From: Date: Tue, 03 Oct 2000 21:51:24 +0000
Subject: Re: multi dimetional arrays in functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18481@lists.php.net to get a copy of this message
How about this (not a mysql user, pardon me if I bungle a fxn call): while ($row=(mysql_fetch_array($result)) { $array[$row[ID]] = $row; } -mike On Tue, 3 Oct 2000, hentis@twilyt.com wrote: > I want to put all that into an array where the data is linked to the ID > so I can get the datat out for each ID afterwards .. > > any ideas ? > > henti > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -- "don't you know about the new fashion, honey? all you need are looks and a whole lotta money" -- billy joel GnuPG key available at http://devel.duluoz.net/pubkey.asc Key ID = 1024D/9A256AE5 1999-11-13 Mike Glover <mpg4@duluoz.net> Key fingerprint = EF6E 8BCB 4810 E98C F0FD 4596 367A 32B7 9A25 6AE5

« previous php.general (#18481) next »