Jump to content


Photo

php math's help


  • Please log in to reply
No replies to this topic

#1 ianhaney

ianhaney

    Advanced Member

  • Members
  • PipPipPip
  • 81 posts

Posted 11 July 2013 - 01:28 PM

Hi
 
I need some help with php math functions
 
I have added a php order form to my website at the following
 
 
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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com