Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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]

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions