Question: Open Login.php. 2. If the user clicks Login button, do the following: [ 1 Mark ] a. Declare two variables $USER and $PASS to read

Open Login.php.

2. If the user clicks Login button, do the following: [ 1 Mark ]

a. Declare two variables $USER and $PASS to read the user inputs from the username and password textboxes. [ 2 Marks ]

b. Check if the username and the password are correct from the Satff table:

i. If username and password are correct, Open SatffPage.php . [8.75 Marks]

ii. If username and password are not correct, display a message in the same page : Username or Password is not valid. [1 Mark]

3. In the footer tag , use for loop (or any loop) to print 80 hashes in each row you need 6 rows - as the following screenshot. [4.5 Marks]

Open Login.php. 2. If the user clicks Login button, do the following:

It's php language

SATFF LOGIN PAGE ... Type your username here Type the password here Log Figure 3 - Login.php

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!