Question: PHP ASSIGNMENT Hello, Im having some issues finishing a simple fictitious business site for an assignment. I have a SQL database to connect to, just

PHP ASSIGNMENT

Hello, Im having some issues finishing a simple fictitious business site for an assignment. I have a SQL database to connect to, just need help in creating the PHP pages that will connect to it. If you can provide *extremely simple* HTML also, that would be appreciated. Probably looking at 4 pages total. Thank you in advance!

**So far, I can register a user name and password (all of which saves to the database), log in and take the user to a Dashboard**

I need to have the following (should also include some object-oriented programming):

1. Front-End: including a home page, log in page, details/product page AND a register page

2. Registration Form: Form that allows a user to sign in, after which they can access the admin/back-end

3. Details Page: this should display the data entered by the user

4. Back-end: password protected and only accessed after a user has registered and signed in. If someone is trying to access the Admin page, they should be redirected to the front/landing page if they are not signed-in.

5. Data Entry form: a part of the Back-end and only visible to registered users. Here, they would enter information about the services the fictitious business provides, like their automobile repair history, etc.

6. Edit, Update and Delete: the registered user should be able to perform these 3 tasks with their own entries

7. Managing State: the Back-end should remain accessible and visible to the user who is currently logged in. The user should be able to move between the front-end/back-end, using session variables to maintain state. When the user logs out, the Back-end is no longer available until they log back in.

8. Log-in and Log-out: there needs to be an indication that the user is logged in, such as a Hi Guest message BEFORE the user logs in and a Hi Joe message that stays persistent throughout the site. There also needs to be a log-out mechanism that will kill all session variables.

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!