Getting mysql result in php
Im coding a system for unit management. Basically i have the form which allows me to insert their details i.e name, age, location etc. I then have a table which outputs and displays their name. What i want to be able to do is click their name and allow it to bring up all their other details. So for example; I insert 'Fred' and his details into the form which then gets inserted into the MySql db. Freds name then displays in the table. I then click Freds name and it takes me to a page in which all his details are visible. I dont want to have to have a separate page for each person. I want to add the person, they then display on the table and their name because clickable and the details are then displayed.
Hope you get the jist of what im trying to create and can help.
Any help appreciated.