Create your page(s) using “’s Kung Fu Panda Po Sequence” as the page title(s) (t
ID: 3683350 • Letter: C
Question
Create your page(s) using “’s Kung Fu Panda Po Sequence” as the page title(s) (tag).
Save the first page as index.htm (or index.php). Use a HTML form to capture user input. Submit the form to a second file index_process.php using the POST method. (3 points)
The second page contains a link to go back to the first page.
Allow the user to click on one of the four buttons. You must use for loop, while loop or do..while loop for coding. The sequences generated and the output should look like the example output shown.
Explanation / Answer
File index.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<H1>’s Kung Fu Panda Po Sequence</h1>
</head>
<body>
<table width="328" border="1">
<form id="form1" name="form1" method="post" action="index_process.php">
<tr>
<td colspan="2"><label>
<input type="submit" name="Submit" value="Submit" />
</label></td>
</tr>
</form>
</table>
</body>
</html>
File index_process.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<H1>’s Kung Fu Panda Po Sequence</h1>
</head>
<body>
<table width="328" border="1">
<form id="form1" name="form1" method="post" action="index.php">
<tr>
<td colspan="2"><label>
<input type="submit" name="Submit" value="Submit" />
</label></td>
</tr>
</form>
</table>
</body>
</html>
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.