[UPHPU] Help please

Brady Mitchell mydarb at gmail.com
Thu Jan 15 18:58:37 MST 2009


On Thu, Jan 15, 2009 at 5:17 PM, Nate Mueller <natemueller at gmail.com> wrote:
> I am trying to do a simple image gallery with text underneath the
> images.  But when i go to the page using this code only one letter
> shows up underneath the pic.  any help is appreciated.

When this happens to me it's usually because the array doesn't contain
what I think it does.

Try putting this right before your foreach loop to see what $files really is:

echo '<pre>';
print_r($files);
echo '<pre>';

Brady


More information about the UPHPU mailing list