diff --git a/includes/database/database.inc b/includes/database/database.inc index adc55e879dc..a4f00dc467b 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. * }