I'm trying to speed up my site by reducing the number of fields that I need to update in my mysql database.
What I want is a search string that will check the first character in the field so that I can group all "A's", "B's", together, etc...
ie.
Arnold
Amanda
Brett
Craig
... I don't want Craig to be included in the 'A' list because he has an 'A' in his name. He shold be in 'C'. The way I used to do it was have a field named 'Letter' which sorted it. But this is one of the fields I'm trying to avoid.
Please help!!!
What I want is a search string that will check the first character in the field so that I can group all "A's", "B's", together, etc...
ie.
Arnold
Amanda
Brett
Craig
... I don't want Craig to be included in the 'A' list because he has an 'A' in his name. He shold be in 'C'. The way I used to do it was have a field named 'Letter' which sorted it. But this is one of the fields I'm trying to avoid.
Please help!!!