Gary E. Terry wrote:
Sorry about that, not CC'ing the list...the values are not always empty, they should always have something inthem...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/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
