query("SELECT * from tb_student"); if(isset($_POST['btnSubmit'])) { $name = $_POST['name']; $sqlInsert = "INSERT INTO tb_student(firstname)VALUES('". $name ."')"; if ($dbh->query($sqlInsert)) { header("Location:index.php"); } } ?> Front Personal Records



"; echo ""; echo ""; echo ""; } ?>
Person Number Person Name
". $row['id'] ."". $row['firstname'] ."