Shortened everything up to try find the prob. Started with a lot of info to INSERT into MYSQL table but found I had a bitten off more than I could chew.
Still got the same problem, hoping someone out there can help me sort out the problem.
Can anyone see errors in script. Not getting any error messages tho.
$rig = $_POST['rig'];
$medication = $_POST['medication'];
mysql_query("INSERT INTO tabletest (rig,medication)
VALUES ('".$rig."','".$medication."')");
$result = mysql_query($query);
// Check result
// This shows the actual query sent to MySQL, and the error. Useful for debugging.
if (!$result) {
$message = 'Invalid query: ' . mysql_error() . "\n";
$message .= 'Whole query: ' . $query;
die($message);
}
?>
PS. Merry Christmas to you all