echo "Random Gallery Items:";
$randomm = mysql_fetch_array(mysql_query("SELECT imageurl, uid FROM ibwf_usergallery WHERE sex='M' ORDER BY RAND() LIMIT 1"));
echo "<img src=\"$randomm[0]\" height=\"50\" width=\"50\" alt=\"$randomm[1]\"/>";
echo "<br/>";
$nick = getnick_uid($randomm[1]);
$urlnick = "$nick";
echo "by: $urlnick";
pls i want the above code to show both male and female gallery, it only showing male gallery. pls help @ALL
$randomm = mysql_fetch_array(mysql_query("SELECT imageurl, uid FROM ibwf_usergallery WHERE sex='M' ORDER BY RAND() LIMIT 1"));
echo "<img src=\"$randomm[0]\" height=\"50\" width=\"50\" alt=\"$randomm[1]\"/>";
echo "<br/>";
$nick = getnick_uid($randomm[1]);
$urlnick = "$nick";
echo "by: $urlnick";
pls i want the above code to show both male and female gallery, it only showing male gallery. pls help @ALL
Comment