convert text to variable

From: Date: Thu, 09 Nov 2000 14:23:50 +0000
Subject: convert text to variable
Groups: php.general 
Request: Send a blank email to php-general+get-24494@lists.php.net to get a copy of this message
I have this code $size1=10; $size2=20; $size3=30; for($i=1;$i<4; $i++){ //I need the line of code that concatenates the "$size" and the $i value to make a new variable its value as above echo"br" } //--------- I want the output to be like this 10 20 30 thanks -- Best Regards Alaiddin Tayeh; Webmaster Palestinian Internet Services WWW.P-I-S.COM Tel: +97272843197 Fax: +97272843377

« previous php.general (#24494) next »