summaryrefslogtreecommitdiff
path: root/includes/database.pear.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database.pear.inc')
-rw-r--r--includes/database.pear.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/includes/database.pear.inc b/includes/database.pear.inc
index ded3bcf96..c335f6566 100644
--- a/includes/database.pear.inc
+++ b/includes/database.pear.inc
@@ -18,8 +18,9 @@ function db_connect($url) {
/**
* Runs a query in the database.
*
- * @param $query SQL query, followed by a variable number of arguments which are substituted into query by sprintf.
- * @return a DB_Result object or a DB_Error
+ * @param $query SQL query, followed by a variable number of arguments which
+ * are substituted into query by sprintf.
+ * @return a DB_Result object or a DB_Error
*/
function db_query($query) {
@@ -145,8 +146,11 @@ function db_affected_rows() {
/**
* Runs a LIMIT query in the database.
*
- * @param $query SQL query followed by a variable number of arguments which are substituted into query by sprintf, followed by 'from' and 'count' parameters. 'from' is the row to start fetching, 'count' the numbers of rows to fetch.
- * @return a DB_Result object or a DB_Error
+ * @param $query SQL query followed by a variable number of arguments which
+ * are substituted into query by sprintf, followed by 'from' and 'count'
+ * parameters. 'from' is the row to start fetching, 'count' the numbers of
+ * rows to fetch.
+ * @return a DB_Result object or a DB_Error
*/
function db_query_range($query) {
global $db_handle, $queries;