Forms

Challenge A  Create A Form 

Activity A Instructions : Create your own form to collect user input (may use the one below) then create a php file that is called by the form and when executed will  display the contents that were entered by the use. 

Activity B : View Harvard lecture by Mark Zuckerberg and the beginning of Facebook and challenges faced. Summarize the lecture and post this to your web site Section C  page title CS Lectures Harvard


<!DOCTYPE html>
<html>

<title>


</title>

<body>

<div style = text-align:center;>

<h1> My Form </h1>

<form action="dump.php" method="post">

Name: <input type="text" name="name" ><br><br>

<input type="radio" name="gender" value="male" checked> Male<br><br>
<input type="radio" name="gender" value="female"> Female<br><br>
<input type="radio" name="gender" value="other"> Other<br><br>


E-mail: <input type="text" name="email" ><br><br>


Website: <input type="text" name="website" ><br><br>


<textarea name="comment" rows="5" cols="40"> </textarea><br>

Submit <input type="submit" value = "Submit Form">

</form>
</div>

โ€‹

โ€‹

Scroll to Top