Request for Lavalair with random pics
Started on the old forum in October 2009 · view the original in the archive · old links redirect here
rh0bz wrote: Please share a modified lavalair with random pics at the index page i want with no errors..
just fetch imageurl in ur gallery table randomly and display..example
$randomf = mysql_fetch_array(mysql_query("SELECT itemurl, uid FROM gallery WHERE sex='F' ORDER BY RAND() LIMIT 1"));
$nick = getnick_uid($randomf[1]);
echo "<a href=\"profile-$randomf[1]\">";
echo imageResize($randomf[0],50,50,$nick);
echo "</a>";
My Blog: http://jhommark.blogspot.com My Facebook: http://www.facebook.com/jhommark My Official Site: http://www.undergroundweb.tk My Community Site: http://undergroundwap.xtreemhost.com