----------------------- insert.htm -------------------------
<html>
<head>
<title>test</title>
</head>
<body>
<form action="insert.php" method="get">
<input type="text" name="fname">
<input type="submit" value="submit">
</form>
</body>
</html>
-------- config-sendrec.php -------------
<?php
// This is an example of config.php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = '';
$dbname = 'sendrec';
$table='sender'
?>
----------------insert.php------------------
<?php
include 'config-sendrec.php';
include 'opendb-sendrec.php';
$fname=$_get[fname];
mysql_select_db("sendrec"

or die(mysql_error());
$query = "INSERT INTO sender VALUES ($fname)";
mysql_query($query);
include 'closedb.php';
?>
--------------------------------------------------
After I click on Submit button, I went to check the sender table in MYSQL. I only see ID number with NULL on the FNAME column. It seems that everything that I enter has ID # created with NULL value instead of the name. How do I make this inserting data into my table work? Can you please help. Thank you very much.