Variable question
Posted: Mon Jun 15, 2009 11:01 am
Hi guys,
Consider the following code:
As you can see i am trying to concatenate the the variable $z to the 'image' string in the file variable name. ie:
image1
image2
and so on... Is this possible.
Thanks in advance,
Rob.
Consider the following code:
Code: Select all
while($z<6){
if($_FILES['image'.'$z']['name']){
do something
}
$z++
}As you can see i am trying to concatenate the the variable $z to the 'image' string in the file variable name. ie:
image1
image2
and so on... Is this possible.
Thanks in advance,
Rob.