note 37670 added to language.variables.variable

From: Date: Sat, 22 Nov 2003 14:59:03 +0000
Subject: note 37670 added to language.variables.variable
Groups: php.notes 
Request: Send a blank email to php-notes+get-60813@lists.php.net to get a copy of this message
Okay, I'm trying to put the following code in a loop. Basically all I want is to have the upload(X) to be a number rather than typing it out again. I've tried everything but I can't figure out how to reference it within a loop because its in an array. echo $HTTP_POST_FILES['upload1']['tmp_name']; echo $HTTP_POST_FILES['upload2']['tmp_name']; echo $HTTP_POST_FILES['upload3']['tmp_name']; echo $HTTP_POST_FILES['upload4']['tmp_name']; Help would be much appreciated. Cheers, Matt ---- Manual Page -- http://www.php.net/manual/en/language.variables.variable.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+37670 Delete -- http://master.php.net/manage/user-notes.php?action=delete+37670&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+37670&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#60813) next »