PHP Classes

Use of Variables in your PDO code

Recommend this page to a friend!

      PDO MySQL MVC  >  All threads  >  Use of Variables in your PDO code  >  (Un) Subscribe thread alerts  
Subject:Use of Variables in your PDO code
Summary:Mixed message
Messages:2
Author:Ken Turnbull
Date:2017-02-02 15:22:16
 

  1. Use of Variables in your PDO code   Reply   Report abuse  
Picture of Ken Turnbull Ken Turnbull - 2017-02-02 15:22:16
Why do you use the variable name ....$mysqli...as the identifier for a PDO connection? Sort of a mixed message, don't you think? Are you really a PDO user or a mySQLi user who wrote a PDO wrapper.

I am an Oracle user first and a MySQl user second and always looking for a good DB (or as you say BD) wrapper to make my life easier and especially with technologies related to Data Objects such as PDO. Would love to see your wrapper extended.

  2. Re: Use of Variables in your PDO code   Reply   Report abuse  
Picture of Ángel Manso Pérez Ángel Manso Pérez - 2017-02-02 18:59:14 - In reply to message 1 from Ken Turnbull
I'll remake the code. Thank you.