Monday, 15 February 2010

php - images how to echo in table -



php - images how to echo in table -

hi how echo in table want 1 row 3 columns image gallery images listing vertical want alter in horizontal how can alter please help me prepare issue

echo '<div class="urbangreymenu"> <ul><li><img src="wallpaper/' .$name . '/1.jpg" width="230" height="148" align="top"><a href="' .$path .'gallery.php?wallpapers=' .$name . '" >' . $name . '</a>'. $imgcount . 'wallpapers</li></ul></div>'; }

if understood needs, want table 1 row , 3 columns;

<table> <tr> <td> <img src="<?php echo $path . '/' . $image1;?>"/> </td> <td> <img src="<?php echo $path . '/' . $image2;?>"/> </td> <td> <img src="<?php echo $path . '/' . $image3;?>"/> </td> </tr> </table>

set img properties wish

php echo

No comments:

Post a Comment