Minimization of pages

Hello All,

Here is screenshot of one of my column on profile page of user.

here when you click on its me, you will be redirected to a page where you can edit data. I have such 5 more columns and for those editing i have created five pages, so total of six pages only for editing. The code i m using to redirect to other pages is

<p class="user-name">My Details<?php
				   {echo '<a href="#"><img style="margin-left:5px;" src="css/clicks/edit.png" width="20" height="20"></a>';}

Is it possible to do all this in one page only? Means if i click on its me-edit, on next page it displays the data related to it only… For second option, the page will remain same but data will change.