|
Posted by Gordon Burditt on 09/16/07 17:05
>> str_replace('thumbs/', '', $file);
>
>I put this right above my echo and did get an image. But only one. It
>was the last file in the directory. Also tried to replace $file within
>my output line but failed.
>Maybe my coffee hasn't kicked in.
After you added the str_replace() call, is the echo INSIDE or OUTSIDE
of the foreach() loop?
What do you need to have after foreach() to ensure that the following
TWO statements are inside the loop?
Although you can get advice here, don't expect it to be click-by-click,
keystroke-by-keystroke instructions.
Navigation:
[Reply to this message]
|