Hi Mac
I just want some clarification on how the pages for the app should be designed and in which pages exactly the code should be located?
In the tut letter it is specified:
"Note that you only have 4 admin pages, therefore all code related to managing the course (MC1 -> MC2) must fit in course_man.php. It follows that you must make use of if/else or case to manage how code is handled."
I for example have designed my application as follows:
course_man.php presents a list of courses with links to add, edit or delete. Clicking on one of the links take the user to a different php page where the info relating to the action is inserted (for example course_update.php). The actual update or delete in the database then occurs in this page.
Is this acceptable or is it critical that all the code relating to managing the courses be located inside course_man.php? This would then imply that we must have one php page generating different forms depending on what link is clicked? It does complicate things a bit...
Thx for the assistance.
SN: 77373340