std_id std_fname std_lname std_class std_room 11111 นายก นามสกุล ก ป.1 1 22222 นายข นามสกุล ข ป.2 2 33333 นายค นามสกุล ค ป.2 3 44444 นายง นามสกุล ง ป.3 4 55555 นายจ นามสกุล จ ป.4 2
tea_id tea_fname tea_lname 00001 ครู ก นามสกุล ก 00002 ครู ข นามสกุล ข 00003 ครู ค นามสกุล ค 00004 ครู ง นามสกุล ง 00005 ครู จ นามสกุล จ
<? // connect.php $hostname="localhost"; $username="root"; $password="root"; $dbname="school"; $connect=mysql_pconnect($hostname,$username,$password); if(!$connect){ echo "<h3> ERROR : ไม่พบDatabase </h3>"; exit(); } /* mysql_query("SET character_set_results=tis620"); mysql_query("SET character_set_client=tis620"); mysql_query("SET character_set_connection=utf-8"); */ mysql_query("set NAMES UTF8"); ?>
<? include "connect.php"; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <table> <form> <tr> <td>เลือกตารางที่ต้องการเพิ่มในฐานข้อมูล:<select> <option>teacher</option> <option>student</option> </select> </td> </tr> <tr> <td><input type="file"/></td> </tr> <tr> <td><input type="submit" value="เพิ่ม"/></td> </tr> </form> </table> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง