InterviewSolution
Saved Bookmarks
| 1. |
Which variable is a handle to a database object?(a) $dbh(b) $sth(c) $fh(d) $h |
|
Answer» The correct choice is (a) $dbh For explanation I would say: The variable named ‘$dbh’ is a handle to an open file. ‘$h’ is a generic handle and the meaning depends on context. ‘$dbh’ is a handle to a database object. ‘$sth’ is a handle to a query object. |
|