Hi,
Any thoughts on how I can place thousand separators into a int string coming from MySQL? ereg something?
If the var says $price = 700000, I want to display 700.000
Thanks, Aleksander.
This is embarrassing... Well here's the solution if anyone needs it!
$price = number_format($price);
Or, if you want decimals just do;
$price = number_format($price, 2);
Aleksander