Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h4>Form Method Test</h4>
- <form method="post" action="<?php echo $_SERVER['PHP_SELF']?>">
- Name: <input id="douch" class="name" type="text" name="name"><br>
- Age: <input class="name" type="text" name="age"><br>
- <input class="name" type="submit" name="submit" value="send">
- </form>
- <!-- PHP Method Test -->
- <?php
- if (isset($_POST['submit']))
- {
- echo 'Your name is ' .$t1name. '<br>';
- echo 'You are ' .$t1age. ' years old';
- // I WANT TO DISABLE THE TEXTBOX HERE //
- } else{
- }
- ?>
Add Comment
Please, Sign In to add comment