[PHP Activity][3.8] ใช้ HTML กับ PHP แสดงข้อมูล Form


กิจกรรม 3.8 การใช้ HTML ร่วมกับ PHP การแสดงผลข้อมูลกรอกแบบ Form

Code



<?php
echo "<table width=500 border=1 align=center>
<tr align=center>
 <td colspan=2>แบบกรอกข้อมูลเรียนต่อ</td>
</tr>
<tr>
 <td>ชื่อนักเรียน</td>
 <td><input type=text></input></td>
</tr>
<tr>
 <td>สถานศึกษาที่เรียนต่อ</td>
 <td><input type=text></input></td>
</tr>
<tr>
 <td align=right><input type=submit value=ส่งข้อมูล></td>
 <td><input type=reset value=ลบข้อมูล></td>
</tr>
</table>
";
?>

ความคิดเห็น

โพสต์ยอดนิยมจากบล็อกนี้

ใช้ Word ให้เรียกข้อมูลจาก Excel ในแต่ละแถวมาแสดง import data from excel to show in word

การ Comment ในภาษา PHP

แท็ก PHP การเปิดปิดแท็ก