Commit ac63fa94 authored by Dries's avatar Dries

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

parent 35dde8e3
......@@ -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.
* }
......
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