alarik149 Posted November 21, 2006 Share Posted November 21, 2006 [code]<?phpforeach (glob("pictures/a/*.jpg") as $filename) echo '<img src="/'.$filename[1].'">';?>[/code]I can`t get the image to show,if I do [code]foreach (glob("pictures/a/*.jpg") as $filename) { echo '<img src="/'.$filename.'">'; }[/code]if works though..Don`t understand Link to comment https://forums.phpfreaks.com/topic/28000-problems-using-glob/ Share on other sites More sharing options...
alarik149 Posted November 21, 2006 Author Share Posted November 21, 2006 oh,I got it,thx anyway people:) Link to comment https://forums.phpfreaks.com/topic/28000-problems-using-glob/#findComment-128092 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.