Open main menu

Pathology Education Instructional Resource β

Changes

Form Page

806 bytes added, 17:50, 23 October 2013
Created page with "<pre> <html> <head> <title> <!--Determines the name of the HTML website, displayed on the the tab--> HTML File </title> </head> <body> <form action="test...."
<pre>
<html>
<head>
<title> <!--Determines the name of the HTML website, displayed on the the tab-->
HTML File
</title>
</head>

<body>
<form action="test.php" method="get"> <!--Introduces the form where action links to the php file-->
<select name="var"> <!--Creates a selectable list (dropdown list)-->
<option value="0">0</option> <!--Creates an option in a dropdown list where value refers to php variable $_GET['var']-->
<option value="1">1</option>
</select>

<input name="ooga" type="text"></input> <!--Creates a textbox for input where name refers to the php variable as above-->
<input type="submit" value="submit"></input> <!--Creates the submit button that creates an output with the value-->
</form>
</body>
</html>
</pre>
347
edits