Hello!
I am trying to make a simple calculator for an accounting assignment. I have created a form with the following variables:
$gross_margin
$sales
etc....
I am using <? track_vars ?> at the top of my script to pass the variables from the form to the PHP script. Here is the problem: I also need variables listed in the script which are not part of the HTML form. For example:
$gross_margin_percentage = $gross_margin / $sales
But when I have ANY varibles besides those in the HTML form I get parsing errors. How should I go about getting around this?
Seth