php - PDO main variable naming. Is it a connection, or a handler, or a handle? -


in code below there variable named "dbh". describe variable "connection", "handler", "handle" or else? might seem trivial , non important question, know correct term call variable know call when talk it.

try {     $dbh = new pdo("mysql:host=".db_server.";dbname=".db_name, db_user, db_pass); } catch(pdoexception $e) {     echo $e->getmessage(); } 

it's "handle" db class. in case, it's referencing pdo class instance, , think that's should call it.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -