PHP Organization Question 2?

Benvolio

New member
I have a list of names, with each name leading to another link upon clicking. I wan to have A, B, C, D, E, F, G, H, etc.. at the top and when someone clicks on a letter, only the names that start with that letter appear, and the rest disappear. How can i do this with PHP? I have many different names for each letter, and the names are not coming from a database. They are all put by me in a custom page.I am not specifically asking for the actual PHP coding i should use, but if you could just tell me how, and maybe point me in the right direction, that would be appreciated.
 
If they are already in custom page then what you need is HTML/Javascript not PHP. It would make sense to use PHP if you have the names in a database for example.

The easy solution involved putting each set of names in a <div> with a meaningful ID and have each link at the top display only the required <div> and hide all others.

For the code, feel free to send a prviate message.
 
Back
Top