I'm in the middle of creating an admin panel however I'm wondering if its possible and how to do the following.
The admin panel will allow the user to complete three actions which are add, edit and delete (whilst communicating with the MySQL database). How can these actions only be completed within one file for example index.php?page=add, index.php?page=edit, index.php?page=delete?
So when the user wants to delete something only the delete part of the code is accessed in the file?
Thanks,
Jack