I understand that CodeIgniter 2.1.3 now supports PDO, but you would like to use PDO functions instead of CodeIgniter functions, and want to create a PDO object as a library that can be loaded by a controller or another library. You have attempted to create a new class named "Mypdo" that extends PDO and set up a simple usage example, but you are encountering an error when attempting to use the prepare() function. You would like someĀ
owespeedtest help improving your code and making it work. Is that correct?