Closed zishan0215 closed 10 years ago
ok waiting for ur code :smiley:
Pushed the code.. Admin.php -> edit_teacher() you already have the teacher id.. so start from there... the form is not complete.. copy paste the code for the fields.. connect the submit button.. logic will be same as that of add_teacher() so you can refer to that function for help.
@nkmittal4994 When you click on teachers in the admin dashboard, a list of teachers is displayed. Along with the list of teachers, we should have an option to edit that particular teacher as well. So this is your next task. When someone clicks on edit, then a new page should be displayed with a form pre populated with the information regarding that very teacher fetched from the database. Then there should be an option to save and cancel the changes. I shall code the basic structure and push the code soon. Please comment if you have any doubts..