advanced code snippet search
simsevu on 06/11/10
php html
06/11/10 07:06am
URL: cw-med-iterator
$path = "images/";$imageType = ".png"; $i = 0;echo '<table style="width: 700px;" cellspacing="30" cellpadding="0" ><tr>';while ($list = mysql_fetch_assoc($result)) { if($i % 3 == 0) echo '</tr><tr>'; echo '<td><img src="'.$path.$list["name"].$imageType.'" alt="'.$list["title"].'" /></td>'; $i++; }echo '</tr></table>';
Report this snippet Tweet
Comment:
You need to login to post a comment.