Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

php Part 1: Create a simple form for logging in - You can use additional framework like Bootstrap 1. Create a form with action and

php image text in transcribed
Part 1: Create a simple form for logging in - You can use additional framework like Bootstrap 1. Create a form with action and method attributes
2. Between form tags, you should add 2 fields - user name and password, and a submit button. Part 2: In process_data.php file 1. Create an associative array as a database in which stores user name (could be a email or a nick name). When you print the array in a table, it should look like this Password expertCom smarton onde johnde) shndoeb? 2. Create log in system Start PHP code with Your program should redirect the user back to the form if they try to access the process_data.php without logging in Write code to check the username and password. If the username and password are correct then the code prints "You have successfully logged in!" If the username and Password do not match the database, which is the array in question 1, the message is "Sorry, wrong information has been entered!" 3. Create register system In the form, add another button which is for Register. In process_data.php file, your code should check which button was hit. If the submit button was hit, it will execute the code written in number 2 section, and if the register button was clicked, write code to check the username. If the username is taken, print out a message: "Sorry, your username is taken!", and if it is not taken, print out "Welcome, username!". You should use array_push() function to add the new user into the array. SUBMISSION: after completing all 3 tasks, you need to take screenshots of the output with the URL link and submit them along with your source code including.html and.php files

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

Step: 3

blur-text-image

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

How Do I Use A Database Research Tools You Can Use

Authors: Laura La Bella

1st Edition

1622753763, 978-1622753765

More Books

Students also viewed these Databases questions

Question

3. Identify challenges to good listening and their remedies

Answered: 1 week ago

Question

4. Identify ethical factors in the listening process

Answered: 1 week ago