jsltd wrote:
> I can't change the codes in that way as they are postal
codes and KT01 is not
> KT1, if you see what I mean.
UK postcodes are particularly difficult to handle in this
way. If your
are using PHP, you could gather all results in a
multidimensional array,
and then use natcasesort() to reorder the results according
to postcode.
The alternative would be to use three columns instead of one
for the
postcode. You might call them postcode1, which has just the
initial
alphabetical characters; postcode2, with the number before
the break;
and postcode3, with the rest of the code. There may be a
better way.
Like you, I would be interested to hear of it.
--
David Powers
Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
http://foundationphp.com/