So instead of this:
if($action=="insert") {
$strSQL = "INSERT INTO userncaapredict (nwb1, nwb2, nwb3, nwb4, nwb5, nwb6, nwb7, nwb8) VALUES ('Ken','$nwb2','$nwb3','$nwb4','$nwb5','$nwb6','$nwb7','$nwb8')";
$result = mysql_query($strSQL) or die(mysql_error());
}
Should use this:
if($nwb1, $nwb2, $nwb3, $nwb4, $nwb5, $nwb6, $nwb7, $nwb8=="insert") {
$strSQL = "INSERT INTO userncaapredict (nwb1, nwb2, nwb3, nwb4, nwb5, nwb6, nwb7, nwb8) VALUES ('Ken','$nwb2','$nwb3','$nwb4','$nwb5','$nwb6','$nwb7','$nwb8')";
$result = mysql_query($strSQL) or die(mysql_error());
}
??