Requirement:
- connection to database with table username & password only.
- login and signUp pages with authentication.
- After user sign up, will redirect to login and after authentication. he will be redirect directly to landing page :).
- landing page after login :) with logout button :)
Solve:
- Make the structure of pages.
- make file
dbconnection.php
to connect with database. - finish the logic of website :).
- if user enter website, see index page as in:
- if user signUp page successfuly, he will redirect to login page :) .
- if he login successfuly, he will redirect to Blog as in:
- and he can now see blog page, he can logout :) as in:
- after he logout, he will redirect to index and change header button 'see login and signup' as in:
- To see Demo video as in: linkToDemo;