0

I need to add commas to my data..
Somehow I'm missing the mark on getting this done...
Currently out putting building info with: <td><?php echo $row_DetailRS1['BuildingSize']; ?> </td> I've use some variations of number_format($number); without results. Should be easy but I'm not getting the results.

Oh, and yes I'm a newbie to php.. really like it though.

1
Contributor
1
Reply
2
Views
8 Years
Discussion Span
Last Post by okieoilman
0

Very simple to correct this. I didn't see the missing '
:-)

<? $number = $row_DetailRS1['BuildingSize']; 
   echo 'Message display: '.number_format($number, 0, '.', ',').'<br>'; ?>
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.