Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Web Programming Which method of a PHP Data Object can be used to execute INSERT,

ID: 3902125 • Letter: W

Question

Web Programming

Which method of a PHP Data Object can be used to execute INSERT, UPDATE, and DELETE statements?

Question options:

return

data

action

exec

query

Which PHP class can be used to connect to a MySQL database?

Question options:

db

DataConnect

SelectData

argument

PDO

When INSERT, UPDATE, or DELETE statements are used in conjunction with a PHP Data Object, what is returned?

Question options:

success or failure

the number of columns that were affected

true or false

the number of rows that were affected

the number of tables that were affected

Which clause in a SQL statement specifies the table(s) that should supply the data that is returned?

Question options:

JOIN

SELECT

WHERE

ORDER BY

FROM

When coding relative URLs, you can begin the URL with a(n) ____________ to indicate that the URL should start with the current directory.

Question options:

colon (:)

dollar sign ($)

question mark (?)

single dot (.)

exclamation point (!)

The material on which this question is based on can be found on page 157 of the textbook.

Which clause in a SQL statement specifies the columns to return?

Question 1

Explanation / Answer

Q1

exec can be used

Q3

PDO can be used

Q4

Success or faliure is returned

Q10

From Statement selects the table

Q11

Using single dot

Q12

Select statement