very simple my friend.
First add a dummy ID in the databse
for eg,
empid empname
1 admin
then before insert find the max(empid)
then add one to it.
and include it in every query you process.
This can be done in frontend.
I am not the one who can help in databse side.
But I am sure that autoincrement is there at mysql I hope.
May be the one who is good at database can help you on that....
Hope this helps you...
Have a happie coding...:=D