Skip to content

Commit

Permalink
Fix example code for Connection's executeQuery method.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lewinski committed Feb 9, 2011
1 parent ad9435d commit a74373b
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 @@ -54,7 +54,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 a74373b

Please sign in to comment.