1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Please Help to untersdant a Online Transaction system ???

Discussion in 'Programming' started by chegmarco, Jun 20, 2015.

  1. #1
    Hello.
    I am currently developing an online banking application that will allow bank customers to directly link a credit card to pay for their online bank account to be able to withdraw money from ATMs and make purchases online Internet.

    So here is the HTML code that allows them to inquire their bank card:

    
    <html><body>
    <form method="post" action="process.php">
      <fieldset class="credit-card-group">
      <legend>Credit Card Information</legend>
      <label for="card-number">Credit Card Number</label>
      <input placeholder="1234 5678 9012 3456" pattern="[0-9]*" type="text" class="card-number" name="card-number" id="card-number">
      <label for="card-number">Expiration Date</label>
      <input placeholder="MM/YY" pattern="[0-9]*" type="text" class="card-expiration" name="card-expiration" id="card-expiration">
      <label for="card-number">CVV Number</label>
      <input placeholder="CVV" pattern="[0-9]*" type="text" class="card-cvv" name="card-cvv" id="card-cvv">
      <label for="card-number">Billing Zip Code</label>
      <input placeholder="ZIP" pattern="[0-9]*" type="text" class="card-zip" name="card-zip" id="card-zip">
      </fieldset>
    <input type="submit" value="Connect Credit Card">
    </form></body></html>
    
    Code (markup):
    Here afterwards the PHP code process.php page that should -be linked to form above and must also allow customers to add their balance at the balance of their credit card added from the HTML form -dessus:

    
    
    <?php
    
    $ccard = $_POST['card-number'];
    $ccexp = $_POST['card-expiration'];
    $ccvv = $_POST['card-cvv'];
    $cczip = $_POST['card-zip'];
       
    //$s_bal = $s_acc['balance']; which defines the balance of the variable at the MySQL database.
    
    $s_sql   = "SELECT acc_no, user_id, balance FROM tbl_accounts WHERE acc_no = $sacc_no";
         $s_result = dbQuery($s_sql);
         $s_acc = dbFetchAssoc($s_result);
         $s_bal    = $s_acc['balance'];
            
    ?>
    Code (markup):
    How then from 2 HTML and PHP codes above enable customers to tie in their first credit card from an HTML form and automatically transfer amounts available from their pay to their credit or debit card for to withdraw those amounts available in ATMs for example ???

    Thank you for helping me.
     
    chegmarco, Jun 20, 2015 IP