web quiz 2

Ace your homework & exams now with Quizwiz!

Select the heading and closing of the form that calls the constructor2.php passing in all data, "hidden", on the front-end program 2

<form method="post" action="Constructor2.php" </form>

Select the code of one input text field in program 2

<input type="text" name="Telephone" value=" "

Select the code to extract and display the data from any field inputed on a front end, as done in controller2.php program

$telephone = $_POST['telephone']; echo telephone $telephone;

Select the code to create 2 check boxes

-<input type="Checkbox" name="Message4" value="Complaint"> Complaint -<input type="Checkbox" name="Message5" value="Problem">Problem

select the code to create 2 Radio buttons

-<input type="radio" name="Message3" value="Problem">Problem -<input type="radio" name="Message3" value="Complaint">Complaint

select the code to create a submit button as done in program 2

-<input type="submit" name="ClearScreen" value="ClearScreen">

what is the purpose of controller2.php page, as done in program 2

To process and display the input, labels and other front end information

What is the purpose of the <form> tag, as done in program 2

To sent its data to a program being called by it, after creating all fields in it

In which input type do we use the command option

dropdown

select the code that finds out which button was pressed, use two buttons as an example

if ( $_POST['Save'] ) { echo 'Save'; } else if ( $_POST['Find'] ) {echo 'Find';}


Related study sets

AP Psych: Unit 7 & 8: Cognition and Language and Conscious

View Set

:) CHAPTER 41: MEGERS AND TAKEOVERS

View Set

BIO 313 Details of Digestive System

View Set