The target attribute specifies a name or a keyword that indicates where to display the response that is received after submitting the form.. tab, window, or inline frame). For example, you can define another form field for a number named num3 (thirdnumber) and other operations between num1, num2 and num3 to compare how the php script output will change. as our action is seat.php, so if you click on the submit button, it will pass the data to seat.php, and will run that file. That's because we are using the "redirect-after-POST" technique as illustrated here: Below example contains PHP script to get a single or multiple selected values from given HTML select tag. and our form action is seat.php, and name for form file is form.php for this example. When we use the htmlspecialchars() function; then if a user tries to submit the following in a text field: PHP script for SELECT OPTION FIELD: HTML select tag allows user to choose one or more options from the given drop down list.