if (!$logged_me_in_successfully234) return; if ($new == "1") { echo '
'; } else { if ($new == "2") { echo "Запись добавлена!"; $qstr = "insert into jobtypes (name, tasktypes, company) values (".$jobname.",".$tasktypes.",".$companyID.")"; //echo "query string ".$qstr; mysqli_query($link, $qstr); } else if ($new == "3") { echo "Задача $del_id удалена!"; mysqli_query($link, "delete from jobtypes where id =".$del_id); } echo "