Random Avater

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

1 reply · 399 views · started 17 years ago · 1 min read

2 participants
riderz Lead · 975 posts #2

i dnt know if this will work ive just copied the gallery random and edit it a lil bit without testing

echo "<div style=\"border: #FF99FF medium solid\" align=\"left\">\n";
$randoma = mysql_fetch_array(mysql_query("SELECT avlink FROM ibwf_avatars WHERE ORDER BY RAND() LIMIT 1"));
echo "<img src=\"$randoma[0]\" height=\"50\" width=\"50\" alt=\"$randoma[1]\"/>";
echo "<br/>";
$nick = getnick_uid($randoma[1]);
$urlnick = "$nick";
echo "by: $urlnick";
echo "</div>";

just try to edit it urself if it dnt work


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

Write your reply now; next you create a free account (or sign in) and it is posted right away. 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