PHP MySQL Database
- Which one of the following methods is responsible for sending the query to the database?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
query()
- Which of the methods are used to manage result sets using both associative and indexed arrays?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
fetch_array() and fetch_row()
- Which one of the following methods recuperates any memory consumed by a result set?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Once this method is executed, the result set is no longer available.
- Which one of the following method is used to retrieve the number of rows affected by an INSERT, UPDATE, or DELETE query?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
The method num_rows() is only useful for determining the number of rows retrieved by a SELECT query. But to retrieve the number of rows affected by INSERT, UPDATE, or DELETE query, use affected_rows().
- Which one of the following statements should be used to include a file?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
include ‘filename’;