Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started