SHARE
TWEET

Untitled

a guest Jun 26th, 2017 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. $FirstName = $_POST['FirstName'];
  4. $LastName = $_POST['LastName'];
  5. $EMail = $_POST['EMail'];
  6. $Phone = $_POST['Phone'];
  7.  
  8. $subject = "Finance application.";
  9.  
  10. $message = "<style type='text/css'>
  11. <!--#main_table {border:2px solid black; padding: 18px; font-size:25px; background: #625D5D; }-->
  12. </style>
  13. <table id='main_table'>
  14.  <tbody>
  15.    <tr style='background-color: rgb(72, 61, 139);'>
  16.      <td colspan='2'>
  17.        <div style='border: 2px solid rgb(0, 0, 0); padding: 4px;'>Finance Application Form:</div></td>
  18.    </tr>
  19.    <tr>
  20.      <td style='background-color: rgb(112, 128, 144);'>First Name:</td>
  21.      <td style='background-color: rgb(0, 0, 205);'>$FirstName</td>
  22.    </tr>
  23.    <tr>
  24.      <td style='background-color: rgb(112, 128, 144);'>Last Name:</td>
  25.      <td style='background-color: rgb(0, 0, 205);'>$LastName</td>
  26.    </tr>
  27.    <tr>
  28.      <td style='background-color: rgb(112, 128, 144);'>Ammount Needed:</td>
  29.      <td style='background-color: rgb(0, 0, 205);'>$StreetAddress</td>
  30.    </tr>
  31.    <tr>
  32.      <td style='background-color: rgb(112, 128, 144);'>EMail:</td>
  33.      <td style='background-color: rgb(0, 0, 205);'>$Email</td>
  34.    </tr>
  35.    <tr>
  36.      <td style='background-color: rgb(112, 128, 144);'>Phone:</td>
  37.      <td style='background-color: rgb(0, 0, 205);'>$Phone</td>
  38.    </tr>
  39.    <tr>
  40.      <td style='background-color: rgb(112, 128, 144);'>Convenient time to call:<br />
  41.        </td>
  42.      <td style='background-color: rgb(0, 0, 205);'>$Comments</td>
  43.    </tr>
  44.  </tbody>
  45. </table>"
  46.  
  47.  
  48. echo "$FirstName";
  49. echo "$LastName";
  50. echo "$EMail";
  51. echo "$Phone";
  52.  
  53. mail( 'asdfasdf@yahoo.com', $subject, $message, $type)
  54.  
  55.  
  56. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top