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