I have currently set up my code to edit student details using basically the same form as the student registration (since all the fields are the same).
Is it okay to direct the user from student_man.php to student_reg.php to edit student details or do I need to do something else, for example:
- include the student details form from a seperate php file on both student_man and student_reg (which would seemingly require large chunks of variable repetition)
- generate the form from an external function on both pages
?
Thanks