Re: Making variables with an iteration?

From: Date: Mon, 06 Dec 2004 14:56:21 +0000
Subject: Re: Making variables with an iteration?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-203590@lists.php.net to get a copy of this message
Jason Wong wrote:
<SNIP> for ($j=1, $j<5, $j++) { $choices.$j= $_POST['choice'.$i]; }
So what do you get when you run that? Strawberry sundae with chocolate on top? (I usually only get a chicken and ham sandwich).
<homer> Mmmmmmm....strawberry sundae on a chicken and ham sandwich. </homer> -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#203590) next »