Difference between revisions of "CSC220 echoform.php"
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
<?php | <?php | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
print "<P>Your form parameters read as follows:<P><ul>"; | print "<P>Your form parameters read as follows:<P><ul>"; | ||
foreach ( $_REQUEST as $key=>$value ) { | foreach ( $_REQUEST as $key=>$value ) { | ||
− | |||
print "<li><b>$key</b> : $value</li>"; | print "<li><b>$key</b> : $value</li>"; | ||
} | } |
Latest revision as of 08:02, 22 September 2010
--D. Thiebaut 12:56, 22 September 2010 (UTC)
<html>
<head>
<title>Php Echo-Form -- CSC220</title>
</head>
<body>
<div>
<h2>Echo Form</h2>
<?php
print "<P>Your form parameters read as follows:<P><ul>";
foreach ( $_REQUEST as $key=>$value ) {
print "<li><b>$key</b> : $value</li>";
}
print "</ul>";
?>
</div>
</body>
</html>