<?php $show = dbquery("SELECT * FROM moter"); echo "<table border='1' cellpadding='0' cellspacing='1' class='center'><tr>"; echo "<td align='center' width='100'>รหัสสิงค้า</td>"; echo "<td align='center' width='380'>สิงค้า</td>"; echo "<td align='center' width='120'>ราคา</td>"; echo "</tr><tr>"; while ($show = mysql_fetch_array($show)){ echo "<td align='center' width='120'>".$show['id']."</td>"; echo "<td align='center' width='120'>".$show['namemoter']."</td>"; echo "<td align='center' width='120'>".$show['money']."</td>"; } echo "</tr></table>"; ?>
<?php $show = dbquery("SELECT * FROM showmoter"); ?>
<?php echo "<table border='1' cellpadding='0' cellspacing='1' class='center'><tr>"; echo "<td align='center' width='100'>รหัสสิงค้า</td>"; echo "<td align='center' width='380'>สิงค้า</td>"; echo "<td align='center' width='120'>ราคา</td>"; echo "</tr>"; $group = ""; while ($show = mysql_fetch_array($show)){ if($show['group'] != $group) { $group = $show['group']; echo "<tr>"; echo "<td colspan=3 align=center>$group </td>"; echo "</tr>"; } echo "<tr>"; echo "<td align='center' width='120'>".$show['id']."</td>"; echo "<td align='center' width='120'>".$show['namemoter']."</td>"; echo "<td align='center' width='120'>".$show['money']."</td>"; echo "</tr>"; } echo "</table>"; ?>
<?php $current = ""; while ($show = mysql_fetch_array($show)){ if($show['group'] != $current){ echo "<tr>"; echo "<td colspan=3 align=center>$show['group']</td>"; echo "</tr>"; } echo "<tr>"; echo "<td align='center' width='120'>".$show['id']."</td>"; echo "<td align='center' width='120'>".$show['namemoter']."</td>"; echo "<td align='center' width='120'>".$show['money']."</td>"; echo "</tr>"; $current = $show['group']; } ?>
<?php $current = ""; while ($show = mysql_fetch_array($show)){ if($show['group'] != $current){ echo "<tr>"; echo "<td colspan=3 align=center>".$show['group']."</td>"; echo "</tr>"; } echo "<tr>"; echo "<td align='center' width='120'>".$show['id']."</td>"; echo "<td align='center' width='120'>".$show['namemoter']."</td>"; echo "<td align='center' width='120'>".$show['money']."</td>"; echo "</tr>"; $current = $show['group']; } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง