Reply to Help with error in script

Your name:

Reply:


Posted by wayne on 02/19/06 07:03

I downloaded a free mortgage calculator and installed it on my site. The
following lines do not return the proper value:

Your down payment will be: <strong>' . $total_downpayment . '</strong>
(' . num_format($percentage_down*100) . '%)<br />
Your loan amount will be: <strong>$' .
num_format($_SESSION['house_cost'] - $total_downpayment) .
'</strong><br /><br />

In the first lint, variable $total_downpayment has the correct value,
but in the second, subtracting $total_downpayment from 'house_cost'
returns 'house_cost'.

What is happening to the value in $total_downpayment?
--
Wayne
http://www.glenmeadows.com

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация