จัดการฐานข้อมูลด้วย phpMyAdmin แสดงผลข้อมูลด้วยการเขียนโปรแกรม PHP โดยใช้ฟังก์ชั่น MySQLi ใช้ CSS ของ Bootstrap เพื่อสร้างตารางให้สวยงามขึ้น โครงสร้างฐานข้อมูล -- -- Database: `dev_database` -- -- -------------------------------------------------------- -- -- Table structure for table `comments` -- CREATE TABLE `comments` ( `id` int(11) NOT NULL, `name` varchar(30) NOT NULL, `detail` text NOT NULL, `sex` int(1) NOT NULL, `date_record` datetime DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='ตารางเก็บความคิดเห็น'; -- -- Indexes for dumped tables -- -- -- Indexes for table `comments` -- ALTER TABLE `comments` ADD PRIMARY KEY (`id`); -- -- AUTO_INCREMENT for dumped tables -- -- -- AUTO_INCREMENT for table `comments` -- ALTER TABLE `comments` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; โค้ด PHP เชื่อมต่อฐานข้อมูล <?php $conn = mysqli_connect("localhost","tobedev","dev.1234"); if (!$conn->set_charset(...