Hey guys!! (excuse me if there are any ladies in the web dev forum, I don't think there is)
I have a slight problem. I am making a website for a real estate company - this is the first database site I have ever done.
In the price field, the database only wants numbers. Fair enough, I have set it to print a $ out the front of any price anyway.
But I need the comma's for the thousands! A house selling for $500,000 is much easier to read than $500000.
If I put a comma into the price field, it doesn't like it. I don't mind if the comma isn't in the database itself, but when it displays on the screen I really need it to put them in the right spots. Any ideas?
Sample here:
http://www.kenbucklandrealestate.com...erty.php?ID=30
(price is down the bottom)
Any suggestions at all are welcome! Using php and mysql at the moment.