[eluser]ZioN[/eluser]
[quote author="Tpojka" date="1382359000"]Can you tell how it looks like your input of zip codes: is that something visitor/user type by self minded?[/quote]
It's not something a visitor types. It's coming from an API. this API utilizes an external database which gets the zipcodes based on the visitors location (globally).
[quote author="ivantcholakov" date="1382359911"]This is what you know, I can't tell. Where does the list of zip-codes come from? From the database, from a text file, from a PHP hard-coded array/string? Who makes/updates this list? And in time this situation may change.
Nevertheless, in all cases I would prefer the query builder, if it is able to do the job. It is a safer approach. And it has additional benefits: cleaner code, abstraction from the database server type.[/quote]
As stated above from an external database. And i'd rather use the codeigniter approach aswel.