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://www.chegg.com/homework-help/questions-and-answers/create-table-event-eventid-int-null-clientid-int-null-username-varchar-null-eventname-varc-q180784617?share=779e1ac5-b8f1-4875-9c28-4afe21b6c69a
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:
logout.php
logout();
header('location:index.php');
include("footer.html");
?>
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.
 using Php, sql, javascript, html this is the link for when

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!