Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 pts
We created a variable called $conn which was an instanceobject 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
bindparam
connecterror
close
execute
prepare
Flag question: Question
Question 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
Question 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
Question pts
We renamed the $results variable once we started switching to a prepared statement. What did we rename $results to
Flag question: Question
Question 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started