-1
For example: I want to display a formatted database number:
echo number_format($saldo, 2, ',', '.');
There echo writes: 8,944,664.00
I want to know how I use css in this condition... to show in the part of the screen I want, in the color I want, etc etc.
I learned that way: echo "<div class=\"saldo\">$saldo</div>";
Then I get the class in the CSS I leave the way I want, but with the number_format
didn’t work out...
Ahhh, it worked! Thanks, so much simpler too :)
– Raizant