while($img1=mysql_fetch_array($result)){
$img2=mysql_fetch_array($result);
// now you have $img1 and $img2
echo "<tr><td><img src='$img1[src]'></td><td>$img1[comment]<br><div align='right'>$img2[comment]</div></td><td><img src='$img2[src]'></td></tr>
}

Philip J. Newman wrote:

I have a table with images and comments.

if i have $x amout of images that each have a comment.

the comments are displayed in the center colum of the table with the images loading left and right of each comment.

http://www.philipnz.com/example.jpg

I can get the images to load in their left and right position, how ever i can't get the right array to print each comment with the image.

Any help would be cool.

Phil



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to