Heres the deal. I need 3 .php files for my class. One is a function page, one is the interface page, and one is the output page.
On the func.php page, I have to have a header, footer, and the calculation. Ex:
ShowHeader($header)
ShowFooter()
calcTotal($cost)
On the chap4-1.php page, there should just be a textbox for the cost, with a submit button to go to the final page.
On the final.php page, it should output the calculation, along with the header and footer.
Please note that I have to call the func.php page in all the pages. I have the func.php page set up and started the chap4-1.php page, but I keep getting errors.
If this isn't too confusing to anyone, can you take a look at my code and help me out? Heres a link to the downloads:
http://www.dt-design.com/calculation.zip. Thanks!