Prompt the way you can use to prevent a button from being pressed if the option is always selected (by default) in the select option 'Select employee'. I found the simplest disabled = "disabled" on the Internet, but it doesn’t really fit me.
<form method="POST" name="apple" id="apple" action="index.php" target="_blank"> <br> <br> <br> <center> <select name="user" id="user"> <option >Выбрать сотрудника</option> <? foreach($row as $k=>$val){ ?> <option value="<?=$val[myid]?>"><?=$val[mname]?></option> <?}?> </select> <input type="submit" value="Перейти"/> </center> </form>