OK first thing is that i am new to all this, with that sad i have a working alphabetical search script where one clicks a letter such as "G" and the screen displays a list from my database with all the say 'lastNames' of a column that start with the letter "G".

My problem is that after the list is displayed i would like for them to click on said 'lastName' ie "Goodman" and have it link you to another page such as a profile page where then it displays "Goodman"'s info from the database.