Thread
:
Random php script
View Single Post
10-13-2004, 01:42 AM
#
7
(
permalink
)
jahsound
Noogle
Join Date: Oct 2004
Location: Paris
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
If you have a MySQL database, you can also insert your pictures (or only their names) into, and after use the rand() function to select one random image on every new page.
Code:
SELECT pic_id FROM pictures ORDER BY rand()
jahsound
View Public Profile
Send a private message to jahsound
Visit jahsound's homepage!
Find More Posts by jahsound