Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PHP Programming Hey how can change the font color of a form to red when the user does not meet the requirements? For example: Email:

PHP Programming
Hey how can change the font color of a form to red when the user does not meet the requirements?
For example:
Email: Joe123. // Error. didnt use @, change Email: to color: red.
Password: ****** // Error didnt filed password with at leat 5 characters change Password: to color: Red
image text in transcribed
1 2 3 4
E-mail: Password:
File : form.php 1 'pass1 'testmail2' => 'pass2 $user=$_POST['email'); Spass=$_POST['pass']; if(array_key_exists($user, $logins)) // checking for user if ($logins [Suser] =- Spass) echo "You have successfully logged in!"; else echo"Sorry, wrong information has been entered!"; else echo" Sorry, wrong information has been entered!"; O localhost/loginform.html E-mail: testmail Password: passi Login o localhostform.php You have successfully logged in

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_2

Step: 3

blur-text-image_3

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

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

=+ a. How does this change affect the incentives for working?

Answered: 1 week ago