with this code I view the photo...but are only my photos at all nicknames...:o
yes this works... right?
CODE$photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery WHERE uid='".$uid."' ORDER BY RAND() "));
or use this one................................... this will help you...............
for all the pictures in your ibwf gallery this works fine for me on my fourth domain!
CODE$photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery ORDER BY RAND() "));
CODE$photo = mysql_fetch_array(mysql_query("SELECT imageurl FROM ibwf_gallery ORDER by RAND() LIMIT 1"));