Okay....
Formhandler....
PHP Code:
<?
include("conf.php");
$date = date("Y-m-d");
$db = mysql_connect($dbHost, $dbUser, $dbPass);
mysql_select_db($dbName,$db);
$query = "INSERT INTO $table (subscriberID, date, name, email, age, gender, homeAddress, hPhone, wPhone, mPhone, workplace, wpAddress, state)
VALUES
(0, '$date', '$name', '$email', '$age', '$gender', '$homeAddress', '$hPhone', '$wPhone', '$mPhone', '$workplace', '$wpAddress', '$state')";
// mysql error message was in here
include ("v_entry_ok.php");
?>
The form is okay....
Mike
Bookmarks