Jump to content

php math's help


ianhaney

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.