note 57218 deleted from function.eval by betz

From: Date: Tue, 27 Sep 2005 14:25:21 +0000
Subject: note 57218 deleted from function.eval by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-95881@lists.php.net to get a copy of this message
Note Submitter: ---- Correction for Jesse's code above: it should be: for($a=1; $a<=5; $a++){ eval("$"."variable".$a."=".$a.";"); } echo $variable1; please review your comments before posting, it's really annoying to waste time trying to get help and ending up with faulty examples

« previous php.notes (#95881) next »