Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Get Form Numeric value

Sun Oct 26, 2008 6:42 pm

Get form numeric value
Code:
<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>




Post a reply
  Related Posts  to : Get Form Numeric value
 Only numeric input in JTextField     -  
 php login form (sign-in form)     -  
 Upload Form     -  
 Seconds Form to ( hh:mm:ss) (C++)     -  
 Feedback Form in php     -  
 Please help me in the form field     -  
 FeedBack form Spam     -  
 Form Validation Problem     -  
 HTML Form i made     -  
 user feedback FORM ASP     -  

Topic Tags

PHP Forms