Home »
MCQs »
PHP MCQs
Which type is used to store the database call?
40. Which type is used to store the database call?
- object
- class
- resource
- string
Answer: C) resource
Explanation:
In PHP, there is a special data type that is resource which is not an actual data type. The resource type of used to store the reference to functions and resources external to PHP.