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 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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

ISBN: 0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

Describe the process and stages of ecological succession.

Answered: 1 week ago