Commit 3c5afaf1 authored by Guilherme Blanco's avatar Guilherme Blanco

Merged pull request #1 from lewinski/fix-connection-executeQuery-example.

Fix connection execute query example
parents b013f1b4 a74373b4
...@@ -338,7 +338,7 @@ parameters to the execute method, then returning the statement: ...@@ -338,7 +338,7 @@ parameters to the execute method, then returning the statement:
.. code-block:: php .. code-block:: php
<?php <?php
$statement = $conn->execute('SELECT * FROM user WHERE username = ?', array('jwage')); $statement = $conn->executeQuery('SELECT * FROM user WHERE username = ?', array('jwage'));
$user = $statement->fetch(); $user = $statement->fetch();
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment