require_once("../conn.php"); require_once("access.php"); include_once("LeftStyles.php"); $np2 = trim($_POST[np]); if(!empty($np2)) { $q1 = "insert into yellow_types set TypeName = '$np2' "; mysql_query($q1); if(mysql_error()) { echo "