Nope... here is the output. "-- -- Array ( [error] => )" -----Original Message----- From: Chris [mailto:dmagick@xxxxxxxxx] Sent: Thursday, November 30, 2006 10:56 PM To: Gary E. Terry Cc: php-db@xxxxxxxxxxxxx Subject: Re: Arrays from forms.... Gary E. Terry wrote: > If I print them, there's nothing. all three > > Here is the same file, in test mode... > > <?php > include "db.inc.back.php"; > > > foreach ($_FILES["pictures"]["error"] as $key => $error) { > if ($error == UPLOAD_ERR_OK) { > echo "$error_codes[$error]"; > move_uploaded_file( > $_FILES["pictures"]["tmp_name"][$key], > "bikeimages/" .$_FILES["pictures"]["name"][$key] > ) or die("Problems with upload"); > ${"image".$key} = $_FILES['pictures']['name']; > } > } Hmm, looks ok. If you: print_r($_FILES["pictures"]); and print_r($_FILES["pictures"]['error']); do you get stuff there ? -- Postgresql & php tutorials http://www.designmagick.com/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature