Re: Ok, I know this may sound like a stupid question...

From: Date: Tue, 05 Dec 2000 23:22:27 +0000
Subject: Re: Ok, I know this may sound like a stupid question...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-28776@lists.php.net to get a copy of this message
* Jeff Demel (jdlists@iglue.com) wrote: > Oops. My example uses an array, and you specifically said that was not the > way you wanted to go. If you are /really/ stuck on having seperate variables, just make an array of the names of the vars: $arr = array("this","that","other"...); then sort that array using $$arr[$n]; Arrays are your friend, really! Mike

« previous php.general (#28776) next »