I have searched the forum and can't find an exact answer to my question... So I am using wordpress and I want to have a user enter information into a form. Then, on the next page, I want to take one of their entries and multiply in by .7 and display in on the screen. My question is... 1. What is the best way to pass the information from the form to the next page? 2. How do I take that number and multiply it by .7 and display it on the screen? Thank you in advance. -Anthony
just the post the form data and action of the form must be the second page where you want the data of that for. Let me know if anything is not clear.
The best way to pass the information from the form to the next page is the POST method or you can use sessions
yes, you can use either the GET or POST methods. POST is probably better. add a method attribute to your form tag: <form (other stuff) method="POST" action="yoursite.com/pagetosendto"> (each of the form elements below this, such as text fields, etc. will have their own name. this is important) </form> then in the php script on "pagetosendto", you just do: $your_variable = $_REQUEST('form element name'); and use that variable however you want.