I created a website where the admin can insert, edit, delete and view recipes.
The user can view the récipes, add them to favorite and search.
The guest can only view and search recipes.
The layout I am sending attached is the code I have finished so far.
What I need to be developed is the PHP search function and the Add to favorite button.
Image 1 – HomePage (to admin, user and guest)
Image 2 – Searching Page (to admin, user and guest)
Image 3 – Word Search
Image 4- Recipe + Add to favorite button.
Here is an example of the functionallty I need for the PHP function: [url removed, login to view]
O utilizador pode pesquisar apenas por um campo ou por vários campos.
The user/guest should be able to search for field or word.
If the user searches for “vegetarian”, the website should show only vegetarian recipes.
If the user clicks the button “Adicionar aos favoritos”, the website should add that recipe to the “Favoritos” menu.
This has to be done in PHP.