|
|||
|
Hi,
I just started playiing with ZF and got an interesting output. Here's my simple test php: <?php require_once("Zend/Db/Adapter/Pdo/Mysql.php"); $db = new Zend_Db_Adapter_Pdo_Mysql(array( 'host' => 'xxx.com', 'username' => 'xxx', 'password' => 'xxx', 'dbname' => 'wp' )); $db->setFetchMode(Zend_Db::FETCH_OBJ); $result = $db->fetchAll('SELECT * FROM wp_posts', 2); echo $result[0]->id; ?> The output is: 1:/`(``|[^`])*`/ 2:/'(|[^'])*'/ Any idea what's happening here? -Aaron |
![]() |
| Thread Tools | |
| Display Modes | |
|
|