Question: SQL in PHP Help! I am trying to write code to log into my website. I am sure my username and password are already in

SQL in PHP Help!

I am trying to write code to log into my website. I am sure my username and password are already in the database. Can someone help me figure out what im doing wrong?

SQL in PHP Help! I am trying to write code to log

//Connect to the database (defined in dbconn.php) db_connect (Susername, $password) SEA -_POST['EA' $pass $_POST ['pass']; query-mysgl_query("SELECT CustomerID, Email, Passwd, FirstName FROM Customers WHERE email-EA AND passwordpass") session start O: S SESSION['sess user user echo "Welcome to the website!" else echo "invalid username or passowrd

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!