ดึงข้อมูลออกมาจากดาต้าเบสแล้วอยากจัดรูปแบบ ค่ะ
โดยรูปแบบที่ต้องการประมาณนี้อะค่ะ

โค๊ดที่ทำอยู่ มันไม่จัดแถวละ 4 บล๊อคอะค่ะ
<table width="980" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<?
include("connectdb.php");
$sql1 = "SELECT* from article ORDER BY id DESC";
$query1 = mysql_query($sql1);
while ($rs1 = mysql_fetch_array($query1)){
$id1=$rs1[id];
$thumnail1 =$rs1[thumnail];
$title1=$rs1[title];
$detail1=$rs1[detail];
?>
<td>
<!-- เริ่มบล๊อคที่ต้องการแสดง -->
<table id="Table_02" width="235" height="280" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="images/infographic_level2_01.png" width="235" height="30"></td>
</tr>
<tr>
<td background="images/infographic_level2_02.png" width="235" height="168" align="center" valign="middle">
<img src='administrator/<?php echo $thumnail1 ;?>' width="220" height="152"></td>
</tr>
<tr>
<td background="images/infographic_level2_03.png" width='235' height='82' valign="top">
<div align="left" style="padding-left:5px; padding-right:5px;" class="style2"><?php echo $title1 ;?></div>
<div align="right" style="padding-right:10px;"><img src="images/read1.jpg" border ="0" /></div>
</td>
</tr>
</table>
</td>
<? } ?>
</tr>
</table>
รบกวนช่วยทีนะคะ
