Question: Question 1 1 pts We created a variable called $conn which was an instance / object of the mysqli class. Which of the mysqli functions

Question 11 pts
We created a variable called $conn which was an instance/object of the mysqli class. Which of the mysqli functions did we use in our code in the video? Select all (if any) that apply.
Group of answer choices
query
None of These
bind_param
connect_error
close
execute
prepare
Flag question: Question 2
Question 21 pts
SELECT * FROM USER WHERE USER = 'GILLIAN';
Consider the above statement. If we were to change this to use the prepared statement syntax, 'GILLIAN' would be replaced with what?
Flag question: Question 3
Question 31 pts
When using prepared statements, since you are protected from SQL injection, it is not necessary to hash your passwords.
Group of answer choices
True
False
Flag question: Question 4
Question 41 pts
We renamed the $results variable once we started switching to a prepared statement. What did we rename $results to?
Flag question: Question 5
Question 51 pts
What function did we use to stop the rest of the PHP code from running in the event that the DB connection fails? Enter the full name with no parenthesis.

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!