Guest User

Untitled

a guest
Jul 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php
  2.  
  3. echo '<form method="post">
  4. 1 Is Equal By <input type="text" value="" name="number" size="10" />
  5. <input type="submit" name="scan" value="submit" /></form>';
  6.  
  7. if (($number)==='1') {
  8.     echo 'Yes, '.$number.' is equal to 1!';
  9. } else {
  10.     echo 'Not, '.$number.' is not equal to 1!';
  11. }
  12.  
  13. ?>
Add Comment
Please, Sign In to add comment