diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-06-25 20:28:49 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-06-25 20:28:49 +0000 |
commit | ac63fa94b578151068cd11e25f88952c74c12cd3 (patch) | |
tree | 09831c57bedcd35dbcc75a1573d99991cefa133f | |
parent | 35dde8e3b582940a2cde5f18bfdf431286f6ea52 (diff) | |
download | brdo-ac63fa94b578151068cd11e25f88952c74c12cd3.tar.gz brdo-ac63fa94b578151068cd11e25f88952c74c12cd3.tar.bz2 |
- Patch #829152 by nenne: database abstraction layer db_query_range() example is wrong.
-rw-r--r-- | includes/database/database.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc index adc55e879..a4f00dc46 100644 --- a/includes/database/database.inc +++ b/includes/database/database.inc @@ -40,7 +40,7 @@ * one would instead call the Drupal functions: * @code * $result = db_query_range('SELECT n.nid, n.title, n.created - * FROM {node} n WHERE n.uid = :uid', array(':uid' => $uid), 0, 10); + * FROM {node} n WHERE n.uid = :uid', 0, 10, array(':uid' => $uid)); * foreach($result as $record) { * // Perform operations on $node->title, etc. here. * } |