note 37670 rejected from language.variables.variable by vincent

From: Date: Sat, 22 Nov 2003 15:14:58 +0000
Subject: note 37670 rejected from language.variables.variable by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-60817@lists.php.net to get a copy of this message
Note Submitter: mattbodley@lycos.com ---- 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

« previous php.notes (#60817) next »