Well it's all dynamic using a server-side language such as PHP. First of all, you must check if the user is an admin. If you have a proper usersystem, checking if the current session's userID has admin enabled would work.
Then it's just a series of conditional statements and echo methods. ;)
i was trying to fetch records from database against id but it gives error
Warning: mysql_result() [function.mysql-result]: Unable to jump to row 1 on MySQL result index 3 in C:\xampp\htdocs\regadmin.php on line 52