Last active
February 11, 2021 13:27
-
-
Save oriadam/15f912d4990f1aff951cea8deca9ab6d to your computer and use it in GitHub Desktop.
simple PHP mission
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. create a mysql db with the following tables: | |
items | |
item_id name category_id | |
categories | |
category_id name | |
2. add some initial categories and items. | |
3. create an html page that displays the items grouped by category (any interpretation is fine). | |
4. add a way to add new items. the item should also be added to the page instantly (ajax/SPA). | |
server side: php (any version you want) | |
client side: feel free to use jQuery, jQueryUI, React or any other js library | |
handle errors and xss, and write something that you are proud of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment