Form Numeric value : TextBox « Form « PHP
- PHP
- Form
- TextBox
Form Numeric value
<HTML>
<BODY>
<FORM METHOD="POST" ACTION="FormNumericValue.php">
Enter a numeric value:
<BR>
<INPUT TYPE="TEXT" NAME="number">
</FORM>
</BODY>
</HTML>
<!-- FormNumericValue.php
<HTML>
<BODY>
<?php
echo "The number entered was: $number.";
if ($number > 10)
echo "<BR>That's a big number.";
?>
</BODY>
</HTML>
-->
Related examples in the same category