NYCPHP Meetup

NYPHP.org

[nycphp-talk] Form field length vs. Database field length

tom at supertom.com tom at supertom.com
Mon Dec 22 13:53:38 EST 2003


FYI, I wanted to see how the "big guys" handled this, so I went to the
yellow pages on Yahoo.  They seem to just convert the ampersand to 'and' and
vice versa.

It hasn't come up for me, but I would probably do the same if it did.

Tom
http://www.liphp.org





***************************************************
What's Tom listening to right now?  Find out here:
http://www.supertom.com/current_track.php




-----Original Message-----
From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org]On Behalf Of Scott Mattocks
Sent: Monday, December 22, 2003 1:51 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Form field length vs. Database field length


& was just my example character but replacing characters makes for
incorrect data.  For instance 'Bob & Joe's Towing' is different from
'Bob and Joe's Towing' and 'Bob + Joe's Towing'.  We want the data to be
as accurate as possible.  It is a sublte distinction but if Bob and Joe
want to use & in their company name then we shouldn't change it.

Scott Mattocks

PUTAMARE wrote:

> On Dec 22, 2003, at 1:29 PM, Scott Mattocks wrote:
>
>> Does anyone have any tips or tricks for this type of problem?
>
>
> How about a first step of replacing all & with + ?
>
>
> Jeff Knight
> jeff not junkmail at lushmedia.com
> 212/213-6558 x 203
> LUSH media
> 110 W 40th St #1502
> New York, NY 10018
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
>

_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list