RE: [PHP] XX outputting X signs
| From: | George Pitcher | Date: | Tue, 22 Jul 2003 15:00:57 +0000 |
| Subject: | RE: [PHP] XX outputting X signs | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156235@lists.php.net to get a copy of this message | ||
Would it not make sese to store the number as a decimal and have the '£'
added at output?
George, in Oxford, where £££=pints
> -----Original Message-----
> From: David Nicholson [mailto:me@djnicholson.com]
> Sent: 22 July 2003 3:51 pm
> To: David Goodchild
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] XX outputting X signs
>
>
> Hello,
>
> This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at
> 15:01, lines prefixed by '>' were originally written by you.
> > My suggesstion would be as your adding the data to the database
> > convert the
> > £ to £
>
> I wouldn't do that, it will eman extra CPU cycles if at a later date
> you decide you want to use the data in your database for anything
> other than a HTML page. Also it is 6 bytes of wasted disk space per
> record - in a very large database that would show.
>
> David.
>
> --
> phpmachine :: The quick and easy to use service providing you with
> professionally developed PHP scripts ::
> http://www.phpmachine.com/
>
> Professional Web Development by David Nicholson
> http://www.djnicholson.com/
>
> QuizSender.com - How well do your friends actually know you?
> http://www.quizsender.com/
> (developed entirely in PHP)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>