php_prac_10
php_prac_10
10
1) Design a web page using following form controls: a.Text box, b. Radio button, c.
Check box, d. Buttons
Html file:
<!DOCTYPE html>
<html>
<head>
<title>Registration Form</title>
</head>
<body>
<h2>Registration Form</h2>
<label>Name:</label>
<br><br>
<label>Address:</label>
<br><br>
<label>Your Gender:</label>
<br><br>
<label>Your Hobbies:</label><br>
<br><br>
</form>
</body>
</html>
Php file:
<?php
if(isset($_GET["t1"])) {
if(isset($_GET["t2"])) {
if(isset($_GET["gender"])) {
}
if(isset($_GET["hobbies"])) {
?>
Output: