Mortgage Calculator into a module, plugin or just an include
Posted: Wed Jan 26, 2005 12:38 am
I have a mortgage calc that I need to include on the website in a content page.
http://www.diamondbuilders.net/calc the txt file is the same thing so you can see the code.
What is the best way to include this single file?
I tried making it a custom plugin with the below but that didnt work... all I got was errors.
This is what the url looks like for the arguments to get the right results...
I will be linking to this on many many pages and each link will have the url slightly modified so that the results will match the cost of the particular house.
So what is the best way to include this?
http://www.diamondbuilders.net/calc the txt file is the same thing so you can see the code.
What is the best way to include this single file?
I tried making it a custom plugin with the below but that didnt work... all I got was errors.
Code: Select all
require_once('/calc/mortgage_calculator.php');Code: Select all
/mortgage_calculator.php?form_complete=1&sale_price=200000&down_percent=10&year_term=30&annual_interest_percent=6.5&show_progress=1So what is the best way to include this?