Advertisement
gitlez

YA: process.php WC

Apr 21st, 2012
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.46 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. /*    process.php    */
  5.  
  6. /*   Uncomment the following to see an output of the $_POST super global array (Remember that the page needs to have data 'POSTed' to it, in order for the server to populate the $_POST super global.    */
  7. // echo '<pre>';
  8. // print_r($_POST);
  9. // exit;
  10. ?>
  11. <html>
  12.     <head>
  13.         <title>New User Form Processing</title>
  14.     </head>
  15.     <style type="text/css">
  16.         /*    Styles Just To Make It Look Pretty    */
  17.         label {
  18.             font-style: italic;
  19.             width: 150px;
  20.             display: inline-block;
  21.             text-align: right;
  22.             margin-top: 8px;
  23.         }
  24.         span.fi {
  25.             font-weight: bold;
  26.             margin-left: 10px;
  27.         }
  28.     </style>
  29. <body>
  30.     <label>First Name</label>: <span class="fi"><?php echo $_POST['first_name']; ?></span>
  31.     <br>
  32.     <label>Last Name</label>: <span class="fi"><?php echo $_POST['last_name']; ?></span>
  33.     <br>
  34.     <label>Address</label>: <span class="fi"><?php echo $_POST['address']; ?></span>
  35.     <br>
  36.     <label>City</label>: <span class="fi"><?php echo $_POST['city']; ?></span>
  37.     <br>
  38.     <label>Zip Code</label>: <span class="fi"><?php echo $_POST['zip_code']; ?></span>
  39.     <br>
  40.     <label>Create Username</label>: <span class="fi"><?php echo $_POST['create_username']; ?></span>
  41.     <br>
  42.     <label>Create Password</label>: <span class="fi"><?php echo $_POST['create_password']; ?></span>
  43.     <br>
  44. </body>
  45. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement