Я новичок в html, и это, вероятно, глупая ошибка, но я не могу ее обнаружить. Всякий раз, когда я выбираю поле ввода, курсор всегда переходит к первому полю ввода. Я предполагаю, что где-то пропустил конечное утверждение, но не могу его найти ...
<form method = "POST" action="changeCourse.php";>
<label for="newModule">Module:<label>
<input type="text" name="newModule" input value = "<?php echo $_REQUEST['modules'];?>"/>
<label for="newCode">Code:</label>
<input type="text" name="newCode" input value = "<?php echo $_REQUEST['codes'];?>"/>
<label for="newLesson">Lesson Type</label>
<select name="newLesson" id="newLesson">
<OPTION SELECTED><?php echo $_REQUEST['lesson_types'];?></option>
<option label="newLesson">Lecture</option>
<option label="newLesson">Tutorial</option>
</select>
<label for="newCredit">Credit:</label>
<input type="text" name="newCredit" input value = "<?php echo $_REQUEST['credits'];?>"/>
<label for="newLevel">Level</label>
<select name="newLevel" id="newLevel">
<OPTION SELECTED><?php echo $_REQUEST['levels'];?></option>
<option label="newLevel">4</option>
<option label="newLevel">5</option>
<option label="newLevel">6</option>
</select>
<label for="newCore">Core:</label>
<input type="text" name="newCore" input value = "<?php echo $_REQUEST['cores'];?>"/>
<label for="newLab">Lab Number:</label>
<input type="text" name="newLab" input value = "<?php echo $_REQUEST['labs'];?>"/>
<label for="facilities">Lab Facilities</label>
<select name="facilities" id="day">
<OPTION SELECTED><?php echo $_REQUEST['facilities'];?></option>>
<option label="facilities">Full(MS Office, Programming Packages, Adobe Packages)</option>
<option label="facilities">Partial(MS Office, Adobe Packages)</option>
<option label="facilities">Simple(MS Office)</option>
</select>
<label for="newTeacher">Teacher:</label>
<input type="text" name="newTeachers" input value = "<?php echo $_REQUEST['teachers'];?>"/>
<label for="newDay">Day</label>
<select name="newDay" id="day">
<OPTION SELECTED><?php echo $_REQUEST['days'];?></option>
<option label="newDay">Monday</option>
<option label="newDay">Tuesday</option>
<option label="newDay">Wednesday</option>
<option label="newDay">Thursday</option>
<option label="newDay">Friday</option>
</select>
<label for="newTime">Time:</label>
<input type="text" name="newTime" input value = "<?php echo $_REQUEST['times'];?>"/>
<label for="newComment">Additional Comments:</label>
<textarea style="resize: none;" cols="30" rows="3" name="newComment"> hello </textarea>
<input type="submit" value="Update Record" />
<input type="hidden" name="id" value="<?php echo $_REQUEST['ids'];?>">
</form>