PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hi
i want dispaly images randomly .i have wriiten code for this. but its not working properly. i don't know what error in this.
my database is look like
in a single id i stored multiple image file names.
id images
10 bikes/b5.jpg,bikes/b5.jpg,bikes/b9.jp...
11 bikes/b5.jpg,bikes/b5.jpg,bikes/b9.jp...
-------------------
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
I'm not much of a Guru (or anything close...), but if you just want to display random images, then you don't really need MySQL. You can just create an array ussing php, shuffle it using