Exam 3: PHP and MYSQL: Object Creation, Cookies, Sessions, and Database Operations
Exam 1: PHP and SQL Functions and Concepts25 Questions
Exam 2: HTTP, PHP, and Object-Oriented Programming in PHP25 Questions
Exam 3: PHP and MYSQL: Object Creation, Cookies, Sessions, and Database Operations25 Questions
Exam 4: XML, PHP, and Programming Concepts25 Questions
Exam 5: AJAX, XML, and PHP Techniques for Web Development25 Questions
Exam 6: Data Representation and Validation in PHP Programming13 Questions
Select questions type
A destructor is called when the object is destructed or the script is stopped or exited.
Free
(Multiple Choice)
4.9/5
(25)
Correct Answer:
A
Which one of the following methods can be used to diagnose and display information about a MySQL connection error?
Free
(Multiple Choice)
4.7/5
(36)
Correct Answer:
C
_____ returns the last error description for the most recent function call
Free
(Multiple Choice)
4.7/5
(37)
Correct Answer:
A
If you create a _______function, PHP will automatically call this function when you create an object from a class.
(Multiple Choice)
4.9/5
(41)
Which one of the Following methods is responsible for sending the query to Database
(Multiple Choice)
4.9/5
(35)
Which one of the following methods recuperates any memory consumed by a result set?
(Multiple Choice)
4.8/5
(42)
If there is no error, then what will the error() method return?
(Multiple Choice)
4.8/5
(45)
Which method retrieves each row from the prepared statement result and assigns the fields to the bound results?
(Multiple Choice)
4.8/5
(31)
Which method returns the error code generated from the execution of the last MySQL function?
(Multiple Choice)
4.9/5
(36)
A session is a way to store information (in variables) to be used across multiple pages.
(Multiple Choice)
4.8/5
(35)
A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values.
(Multiple Choice)
4.9/5
(35)
the switch statement is used to perform different actions based on different conditions
(Multiple Choice)
4.8/5
(39)
Which one of the following databases has PHP supported almost since the beginning?
(Multiple Choice)
4.8/5
(46)
Which one of the following statements should be used to include a file?
(Multiple Choice)
4.8/5
(43)
Showing 1 - 20 of 25
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)