Array sorting// DB queries
Posted: Mon Jun 16, 2003 3:55 am
Ok, here is my problem. I am trying pull information from a database and then sort the results. The tricky part IS what I want to sort by, is the actual variables stored within a field. So for example, say I have 4 fields in my db table ( Name, State, Gender and Age ) - and I want to sort by the state of California, Oregon, Arizona and Utah. I can sort by State in my db query, but not by specific states. Does anyone what any ideas on this?
Thanks in advance.
Thanks in advance.