I have the following code that will display all of the results in an array if I get them this way:
$getimages = mysql_query("SELECT photo FROM images WHERE id = $querymeminfo[id] GROUP BY photo LIMIT 3");
while ($memimage = mysql_fetch_array($getimages)){
echo $memimage['photo'];
}
How can I get each result without using the while statement. Basically I have a page where I want to show these image results one at a time in all different places throughout the page. If I try to add the while statement it duplicates the page - I DONT WANT THAT!... PLEASE HELP