<?include "conninfo.php";
$fn=$_POST["fname"];
$sn=$_POST["sname"];
$jt=$_POST["jtitle"];

$query="INSERT INTO people(firstname,surname,jobtitle)
VALUES('$fn','$sn',$jt)";


$result=mysqli_query($link,$query);

echo "Thank you for entering a new record";
?>
<br><br>
<a href="enterrecord.php">Enter another record</a>
<br><br>
<a href="jointables.php">Show all records</a>
