From f9155ec3f281a7015fd70301fd7a1067f0c13b87 Mon Sep 17 00:00:00 2001 From: Cinderella-Man Date: Sat, 12 Oct 2013 22:37:53 +0100 Subject: [PATCH] to update --- ext/db/adapter/pdo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/db/adapter/pdo.c b/ext/db/adapter/pdo.c index 204ffff8609..70963d319d1 100644 --- a/ext/db/adapter/pdo.c +++ b/ext/db/adapter/pdo.c @@ -249,8 +249,8 @@ PHP_METHOD(Phalcon_Db_Adapter_Pdo, connect){ * Returns a PDO prepared statement to be executed with 'executePrepared' * * - * $statement = $db->prepare('SELECT * FROM robots WHERE name = :name'); - * $result = $connection->executePrepared($statement, array('name' => 'Voltron')); + * $statement = $connection->prepare('SELECT * FROM robots WHERE name = :name'); + * $pdoResult = $connection->executePrepared($statement, array('name' => 'Voltron')); * * * @param string $sqlStatement @@ -273,8 +273,8 @@ PHP_METHOD(Phalcon_Db_Adapter_Pdo, prepare){ * Executes a prepared statement binding. This function uses integer indexes starting from zero * * - * $statement = $db->prepare('SELECT * FROM robots WHERE name = :name'); - * $result = $connection->executePrepared($statement, array('name' => 'Voltron')); + * $statement = $connection->prepare('SELECT * FROM robots WHERE name = :name'); + * $pdoResult = $connection->executePrepared($statement, array('name' => 'Voltron')); * * * @param \PDOStatement $statement