$name1=a; $name2=b;....

I want to do this

for($i=0;$i<$nbname;$i++)
 echo "\$name$i";

output : a b ....

where "\$name$i"    =  $name1 , $name2 , $name3 ......

I try to print tha value of the vars $name1,.....  not the string
$name1,....

Is it possible ????


REM : The vars $name1,.... com from a form where the number of  name input
are variable.


Thank you


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to