newrehmi Posted February 25, 2010 Share Posted February 25, 2010 I am currently figuring on writing a script for picture gallery, (which I keep the url in a mysql table). So, before I can go on, I just want to ask a spot question, can we use function 'while' on displaying a url inside <img src="<echo here>">. While the image is inside the table. Can we? p/s: sorry for my bad english. thanks. Link to comment https://forums.phpfreaks.com/topic/193350-can-we-use-function-looping-while-on-displaying-an-images-continously/ Share on other sites More sharing options...
Goat Posted February 25, 2010 Share Posted February 25, 2010 Yeah we could. It depends on where is image data stored. If it is within array, better use foreach($images as $image). If it is inside database use while($row = mysql_fech_assoc($result)) . Goat Link to comment https://forums.phpfreaks.com/topic/193350-can-we-use-function-looping-while-on-displaying-an-images-continously/#findComment-1018036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.