SOrt list of items from text box
Posted on 2004-08-25
I have some PHP code which outputs a list of items from a database.
I want to be able to have a text box which will sort those items based on user input eg, if a user presses 'e' all the items that start with e will be listed, if they press ed all the items that start with ed will....etc etc.
Ive seen this done, I just cant figure out how to do it. I could do it with PHP but it means reloading the page etc and I want to avoid that if possible.
Thanks in advance