Random Pics

Started on the old forum in February 2009 · view the original in the archive · old links redirect here

2 replies · 570 views · started 17 years ago · 1 min read

2 participants
Guest #1

Hi everyone sorry to bother u all im looking for a random script to show males and females pics on my mainpage for lavalair. I know theres afew on ere but i dnt use the usergallery in database. Any help wud be great

Pablo Developer · 164 posts #3

here bro try this

echo "Random Gallery Pics "; $sql=mysql_fetch_array(mysql_query("SELECT uid, itemurl FROM fun_gallery ORDER BY RAND() LIMIT 1")); $nick = getnick_uid($sql[0]); echo "<img src="$sql[1]" width="100" height="100" alt="$sql[0]"/><a href="index.php?action=viewuser&who=$sql[0]&sid=$sid">$nick</a>

";

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close