#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    153
    Rep Power
    13

    Php math's issue


    Hi

    I need some help with php math functions

    I have added a php order form to my website at the following

    http://www.irhwebsites.co.uk/web-design-order-form.php

    I have added a total deposit to pay now field

    Two issues, one is I want the total to be divided into 2 and then that figure displayed in the total deposit to pay now input field

    Second issue is after filling the details and clicking submit, I have made extra text saying total deposit to pay now, I want that to display the total price divided by 2 and then the paypal button to know that number divided into 2 and taken through to PayPal

    At the moment the paypal button is just taking the total price and going through to PayPal

    I can send over php files if that is possible through PM or by email if anyone wants to email me at ianhaney@irhwebsites.co.uk

    Thank you in advance

    Kind regards

    Ian
  2. #2
  3. Did you steal it?
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    13,965
    Rep Power
    9397
    Are you looking for someone to do this for you (are you willing to pay?) or just for help doing it yourself?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2012
    Posts
    153
    Rep Power
    13
    Hi requinix

    Thank you for the reply

    Just looking for bit of help/guidance really on how to go about adding a deposit to pay field and getting that deposit figure carried over to PayPal

    Kind regards

    Ian

IMN logo majestic logo threadwatch logo seochat tools logo