Google News
logo
MySQL - Quiz(MCQ)
Which variable is used as a handle to an open file?
A)
$h
B)
$fh
C)
$sth
D)
$dbh

Correct Answer :   $fh


Explanation : The variable named ‘$fh’ 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.

Advertisement