Answered step by step
Verified Expert Solution
Link Copied!

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://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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Data Mining

Authors: Pang Ning Tan, Michael Steinbach, Vipin Kumar

1st Edition

321321367, 978-0321321367

More Books

Students also viewed these Databases questions

Question

Why are so many people afraid of communication?

Answered: 1 week ago