예제 #1
0
파일: class.php 프로젝트: elasa/PDO_CRUD
 public function __construct()
 {
     $this->p = array();
     // inicializo p como un arreglo
     $this->pdo = Conectar::getCon();
     //$this->pdo = new PDO('mysql:host=localhost;dbname=prueba123', 'root', 'toor'); // instancio el objeto pdo
 }