Re: Subscriber count from db
| From: | Rasmus Lerdorf | Date: | Fri, 17 May 2002 15:42:57 +0000 |
| Subject: | Re: Subscriber count from db | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98110@lists.php.net to get a copy of this message | ||
See number_format()
On Fri, 17 May 2002, Randum Ian wrote:
> Hi all, Ive been searching through the archives for this and I am still none
> the wiser!
>
> Ive done a count on my database and found out I have "1234567890" stored in
> a variable "$count".
>
> How do I output "1,234,567,890" so that if I write "I have 1,234,567,890
> subscribers" it looks better than "I have 1234567890 subscribers".
>
> A bit of a dummy question I know, Im sorry!
>
> Ian.
> ---
> Randum Ian
> DJ / Reviewer / Webmaster, DancePortal (UK) Limited
> ian@danceportal.co.uk
> http://www.danceportal.co.uk
> DancePortal.co.uk - Global dance music media
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>