I have not seen HTML like that in a long time. I do not see where you are attempting to write the message. Should there be some text inside of the anchor tag?
<a href="' . $images . $big . $file .'"><img src="' . $images . $file . '" />Some Text</a> Kirk Cerny On Thu, Jan 15, 2009 at 6:58 PM, Brady Mitchell <[email protected]> wrote: > On Thu, Jan 15, 2009 at 5:17 PM, Nate Mueller <[email protected]> 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 > > _______________________________________________ > > UPHPU mailing list > [email protected] > http://uphpu.org/mailman/listinfo/uphpu > IRC: #uphpu on irc.freenode.net > _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
