Skip to content

Commit

Permalink
Merged pull request #1 from lewinski/fix-connection-executeQuery-exam…
Browse files Browse the repository at this point in the history
…ple.

Fix connection execute query example
  • Loading branch information
guilhermeblanco committed Apr 30, 2011
2 parents b013f1b + a74373b commit 3c5afaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/reference/data-retrieval-and-manipulation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ parameters to the execute method, then returning the statement:
.. code-block:: 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();
/*
Expand Down

0 comments on commit 3c5afaf

Please sign in to comment.