Question: using Php , sql , javascript, html this is the link for when i asked to solve my question: https: / / www . chegg.com
using Php sql javascript, html
this is the link for when i asked to solve my question:
https:wwwchegg.comhomeworkhelpquestionsandanswerscreatetableeventeventidintnullclientidintnullusernamevarcharnulleventnamevarcqshareeacbfcafebca
but unfortunately I do not have a complete answer
please check the details I have provided in the previous question in the link and I will add more things that should be solved.
I want:
if the user register he is directed to the login page, in the login page he enters the page as per his type
if he is a client he goes to the client page and he is an admin he goes to the admin page
and if the user is not logged in he cannot press logout so he does not see a white empty page.
one of the problems is when I press register nothing happens, the register should include the username and when registering it directs to the login page and whether it is a client or admin, and the login does not work.
all project details are in the link up
the picture provided is not how I want the page to look like.
my codes:
logoutphp
logout;
headerlocation:index.php;
includefooterhtml;
and the other codes is as how it is shown in the link from the previous question.
additionally the database is not correct. thus, it should not include a table just for the client.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
