how to display cash number format in a php code?
Please give an example.
cash_system value suppose to show for example. 994.00 but instead it shows 994.
echo "Cash:", " ". $info['cash_system'];
Please see the following link.
will this work with my code or do i need to insert that number format under it?
echo "Cash:", " ". number_format($info['cash_system'], 2, '.', '');
my go to for formatting cash is: echo sprintf("%01.2f",$someFloat);
thanks this works. This will be marked as solved! Thanks everyone!
Hello, I can't display images from database.
I have folder called "images" next to index.php where I keep images.
I suppose I have wrongly defined folder path with images or ...
I recently inherited a project that has been in production for a number of years. They want a new field added. Easy peasy - or so you would ...
i am creating an app with android studio and i'm using mySQL.and i want to implement friends feature in my app to enable users send and recieve friend requests, i ...