pastebin

Paste Search Dynamic
Recent pastes
test.php script.
  1.  
  2. <!DOCTYPE html>
  3. <html lang="en-US">
  4.    <body>
  5. <h1>   <?php
  6.    if( $_GET["name"] || $_GET["age"] ) {
  7.       echo "Welcome ". $_GET['name']. "<br />";
  8.       echo "You are ". $_GET['age']. " years old.";
  9.      
  10.       exit();
  11.    }
  12. ?></h1>
  13.       <form action = "<?php $_PHP_SELF ?>" method = "GET">
  14.          Name: <input type = "text" name = "name" />
  15.          Age: <input type = "text" name = "age" />
  16.          <input type = "submit" />
  17.       </form>
  18.      
  19.    </body>
  20. </html>
Parsed in 0.019 seconds