|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered
Join Date: Aug 2005
Location: FL
Posts: 4
Reputation: 0
|
PHP Mortgage Calculator quirk
I have had this PHP script working fine until now:
http://www.loansanddebts.com/mortgage_calculator.php Source here: http://www.loansanddebts.com/view.ph...lator_code.php PowWeb's PHP upgrade must have affected it: now it outputs the letter "t" instead of a comma, for example: Down Payment: $50t000.00 PHP quirk shows up here: http://www.redimortgage.com/tools/ Any ideas? Thanks. |
|
|
|
|
#2 | |
|
Older not wiser
Join Date: Nov 2003
Location: Calgary, AB
Posts: 2,472
Reputation: 205
|
I think you're stretching it a bit to think PHP upgrade would cause this.
Yore supposed to substitute "thousands_sep" for the string (eg. ",") that you want to use as the thousands seperator. From the manual: Quote:
|
|
|
|
|
|
#3 |
|
Registered
Join Date: Aug 2005
Location: FL
Posts: 4
Reputation: 0
|
Thanks, mitchind. That worked. Funny, it had worked fine for a year, and then all of a sudden started outputting the "t" instead of the comma. Nothing else changed except for the PHP upgrade -- so I jumped to blame it. All fixed -- thanks again.
|
|
|
![]() |
| Thread Tools | |
|
|