$myquery=mysql_query("INSERT INTO tblcategory(fldcat)VALUES('$mycat')",$conn) or die(mysql_error()); header("location:maint.php?view=cat"); exit();