diff options
Diffstat (limited to 'includes/database.pear.inc')
-rw-r--r-- | includes/database.pear.inc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/includes/database.pear.inc b/includes/database.pear.inc index 0b56efcdf..f4620f824 100644 --- a/includes/database.pear.inc +++ b/includes/database.pear.inc @@ -18,9 +18,9 @@ function db_connect($url) { /** * Runs a query in the database. * - * @param $query sql query - * @param $type module type of this item - * @return sql result resource + * @param $query SQL query + * @param $type module type of this item + * @return sql result resource */ function db_query($query) { @@ -130,9 +130,8 @@ function db_affected_rows() { /** * Runs a LIMIT query in the database. * - * @param $query sql query followed by 'from' and 'count' parameters, followed by a variable number of arguments which are substituted into query by sprintf. 'from' is the row to start to fetching. 'count' the numbers of rows to fetch. - * @return mixed a DB_Result object or a DB_Error - * + * @param mixed $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 mixed a DB_Result object or a DB_Error * @access public */ function db_query_range($query) { @@ -170,4 +169,4 @@ function db_query_range($query) { } } -?>
\ No newline at end of file +?> |