now i am getting all images in a file using the function glob
after that i store it in an arrayPHP Code:$files = glob("../images/gallery/".$x."thumbnails/*.jpg")
all that i need is to make the $value to produce random value from the array produced by foreach function...PHP Code:foreach ($files as $value)
when i echo the image i want it to be random.. thats all that i need


Reply With Quote
Bookmarks