Using one page to execute several actions
<p>I'm in the middle of creating an admin panel however I'm wondering if its possible and how to do the following.</p>

<p>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?</p>

<p>So when the user wants to delete something only the delete part of the code is accessed in the file?</p>

<p>Thanks,</p>

<p>Jack</p>
