Muy fácil, con la función number_format: http://php.net/manual/es/function.number-format.php
echo number_format(123456789, 0, '', '.'); // Imprime 123.456.789 |
Muy fácil, con la función number_format: http://php.net/manual/es/function.number-format.php
echo number_format(123456789, 0, '', '.'); // Imprime 123.456.789 |