if (isset($_POST['submit'])):
$dbcnx = mysql_connect('mysql153.secureserver.net', 'rntsoft', 'password');
mysql_select_db('rntsoft');
$name = $_POST['name'];
$email = $_POST['email'];
$sql = "INSERT INTO Employee SET FirstName='$name', EMail='$email' , ID = '3'";
if (@mysql_query($sql)) {
echo('New employee added
');
} else {
echo('Error adding new employee: ' . mysql_error() . '
');
}
?>
else: // Allow the user to enter a new author
?>