Hi,
My uploading script is working nice if i give fixed field name like
$image=$FILES['image']['name'];
but i have field name 'image' in a variable like
$img="image";
and i want to use this name here like
$image=$FILES[$img]['name'];
i try a lot of style here like
$image=$_FILES['$img']['name'];
$image=$_FILES['.$img.']['name'];
$image=$_FILES['".$img."']['name'];
$image=$_FILES["'.$img.'"]['name'];
But all not work
Is thier any way to provide dynamic field name ?
Thanks