Re: Check input against list
| From: | Chris Adams | Date: | Wed, 02 Aug 2000 03:09:35 +0000 |
| Subject: | Re: Check input against list | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9617@lists.php.net to get a copy of this message | ||
> The countries array is 232 entries, states 59.
> I'm not sure it's worth putting into the DB.
That's definitely small enough to include inline, particularly as the list
of states and countries isn't going to change frequently. I used a MySQL
table largely because I had a couple of tables & queries where an
abbreviation -> full name lookup table came in handy; absent such reuse it's
probably not worth the effort.
Chris