Advertisement
gitlez

YA: process.php WOC

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