RE: [PHP-DB] Arrays from forms....

From: Date: Fri, 01 Dec 2006 04:51:46 +0000
Subject: RE: [PHP-DB] Arrays from forms....
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.db 
Request: Send a blank email to php-db+get-42791@lists.php.net to get a copy of this message
I know you really meant : ${"image".($key+1)} = $_FILES['pictures']['name'][$key]; And it works!!! Thanks oh so very much! -----Original Message----- From: Chris [mailto:dmagick@gmail.com] Sent: Thursday, November 30, 2006 11:46 PM To: Gary E. Terry Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Arrays from forms.... Gary E. Terry wrote: > OK.. I am a moron.. Forgot that I had changed the name of the field in the > form, and got sidetracked and didn't change it in the > php... But, still not working correctly. > > Here is the output: Array -- Array -- Array Oops this: ${"image".($key+1)} = $_FILES['pictures']['name']; should be: ${"image".($key+1)} = $_FILES['pictures'][$key]['name']; -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Attachment: [application/x-pkcs7-signature] smime.p7s
« previous php.db (#42791) next »