I have a unique problem that will probably require an expert answer.
I'm building a custom store for a canadian product and they want people from certain postal codes to not be able to ship to at all because the shipping costs are too high.
Fedex provided us with the list of postal codes in the "too far" range but they provided the data like this:
k1h > k9a
j2n > l9t
so, my first though was to just print out every single possibility and stick it in a big array, not very efficient (at all)
I need a php function that can tell me whether or not the first 3 characters of the postal code are in between the start and end postal code
it should also only check one code if start and end are the same value
can someone help me with this?