problem with file upload

From: Date: Fri, 19 Jan 2001 10:47:32 +0000
Subject: problem with file upload
Groups: php.general 
Request: Send a blank email to php-general+get-35610@lists.php.net to get a copy of this message
hi, i have a situation where i need to upload 3 img file within an array that is within another array. 2 di-array i have no problem with only variable type and value but its not working with type="file". here's my code <? for ($i=0 ; $i < 4 ; $i++) { //do something for ($k=0 ; $k < 3 ; $k++) { print "<input type=\"checkbox\" name=\"checkans[$i][$k]\" value=\"".$K."\" >"; //this is working print "<input type=\"file\" name=\"ans[$i][$k]\" >"; //this is not } } ?> i can get check[x][x] value; but i cant get ans[x][x] file; how do i do this??? thanks john

« previous php.general (#35610) next »