Re: Arrays from forms....
| From: | Chris | Date: | Fri, 01 Dec 2006 03:38:56 +0000 |
| Subject: | Re: Arrays from forms.... | ||
| References: | 1 2 3 4 5 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-42784@lists.php.net to get a copy of this message | ||
Gary E. Terry wrote:
Sorry about that, not CC'ing the list... the values are not always empty, they should always have something in them... There should be 3 images uploading. But, I am sure just to make life interesting, there will be times when there could be as little as one uploaded.If you print them out what's in them? echo $image1; echo $image2; I just realized that the $key probably starts at 0 instead of 1, so you might need to check that and then possibly: ${"image".($key+1)} = $_FILES['pictures']['name']; -- Postgresql & php tutorials http://www.designmagick.com/