Hey guys please help me with the code for random avater, its somewhere in the forum but cant find it
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
Started on the old forum in August 2009 · view the original in the archive · old links redirect here
Hey guys please help me with the code for random avater, its somewhere in the forum but cant find it
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
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