I think it should be something like this: > > <table width="50%" border="0" cellspacing="3" cellpadding="0"> > <tr> > <td><?php echo "<img src='/album/img/".$photoFileName[2]."'/ >"; > ?></td> > <td><?php echo "<img src='/album/img/".$photoFileName[3]."'/ >"; > ?></td> > </tr> > <tr> > <td> </td> > <td><?php echo "<img src='/album/img/".$photoFileName[0]."'/ >"; > ?></td> > </tr> > </table> how many pictures do you have in database? dont u want to use for/while ? Olavi Ivask > > --------------------------------- > TV dinner still cooling? > Check out "Tonight's Picks" on Yahoo! TV. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php