Can somebody plz help me. i want the random gallery pix to show 6,
3 on top
and
3underneath but no matter what i do it only shows 1!!!!
i will tank whoever tries to help me..
Im usin wapdesirev2 and heres the code im using
$main.="<p style=\"text-align: center\">";
$gallery=mysql_fetch_array(mysql_query("SELECT uid, path FROM gallery_files ORDER BY RAND() LIMIT 6"));
$main.="<img src=\"$gallery[1]\" width=\"60\" height=\"60\"/><br/>";
$main.="</p>";
3 on top
and
3underneath but no matter what i do it only shows 1!!!!
i will tank whoever tries to help me..
Im usin wapdesirev2 and heres the code im using
$main.="<p style=\"text-align: center\">";
$gallery=mysql_fetch_array(mysql_query("SELECT uid, path FROM gallery_files ORDER BY RAND() LIMIT 6"));
$main.="<img src=\"$gallery[1]\" width=\"60\" height=\"60\"/><br/>";
$main.="</p>";
Comment