My head hurts... :-\
made a couple of changes that I thought would suffice... but apparently Im still off target. Still getting errors but (cant see how or where im going wrong???)
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
if (isset($_POST['rig'], $_POST['medication']))
$rig = $_POST['rig'];
$medication = $_POST['medication'];
mysql_query("INSERT INTO tabletest (rig,medication)
VALUES ('".$rig."','".$medication."')");
?>
Thought I had defined the index with the...
if (isset($_POST['rig'], $_POST['medication']))
and thought the variables were already defined with
$rig = $_POST['rig'];
$medication = $_POST['medication'];
My head hurts.
Any suggestions greatly appreciated.