Answered step by step
Verified Expert Solution
Link Copied!

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

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

PostgreSQL 10 High Performance Expert Techniques For Query Optimization High Availability And Efficient Database Maintenance

Authors: Ibrar Ahmed ,Gregory Smith ,Enrico Pirozzi

3rd Edition

1788474481, 978-1788474481

More Books

Students also viewed these Databases questions

Question

1. Discuss the four components of language.

Answered: 1 week ago

Question

a. How many different groups were represented?

Answered: 1 week ago