can anyone see why this query does not work
it dies at part 3
thx for your time in advance
Code:
$dbcon = mysql_connect($DB_HOST, $DB_USER, $DB_PASSWORD)or die ("Could not connect to database students part 1");
//select the database
mysql_select_db($DB_NAME, $dbcon) or die ("Could not select database part 2");
//create the sql statement
$insert = "INSERT INTO studentdetails VALUES (NULL, NULL, NULL, '$newFirstName', '$newMiddleInitial', '$newLastName', '$address', '$newTown', '$newCounty, '$newPostcode', '$newEmail', '$newLocalTelephoneNumber', NULL, '$newJobChoice1', '$newJobChoice2', '$newJobChoice3', $today)";
mysql_db_query($DB_NAME, $Insert, $dbcon) or die ("Could not INSERT student details part 3");
thx for your time in advance