Perl Monk, Perl Meditation | |
PerlMonks |
Re: Re: Entering data into MySql using CGIby ghost (Beadle) |
on Oct 09, 2001 at 01:37 UTC ( [id://117567]=note: print w/replies, xml ) | Need Help?? |
Since the state abbreviations are only two characters long, you can write a regex that should handle it with no problems.
It seems an odd way to do it, though. Why would the user want to type in each state that way? Seems much, much easier to go with someone else's suggestion here and use a SELECT box instead. (And headlights would work at the speed of light, since they're traveling relative to your speed.)
In Section
Seekers of Perl Wisdom
|
|