- Patch #829152 by nenne: database abstraction layer db_query_range() example is wrong.

merge-requests/26/head
Dries Buytaert 2010-06-25 20:28:49 +00:00
parent 35dde8e3b5
commit ac63fa94b5
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@
* one would instead call the Drupal functions: * one would instead call the Drupal functions:
* @code * @code
* $result = db_query_range('SELECT n.nid, n.title, n.created * $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) { * foreach($result as $record) {
* // Perform operations on $node->title, etc. here. * // Perform operations on $node->title, etc. here.
* } * }