Commit d8592b22 authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #1441852 by chris.leversuch, cafuego: Better return value documentation for db_query().

parent b36bfecf
......@@ -26,8 +26,9 @@
* and TRUE values to decimal 1.
* @return
* A database query result resource, or FALSE if the query was not
* executed correctly.
* Successful SELECT, SHOW, DESCRIBE, EXPLAIN, or other queries which return a
* set of results will return a database query result resource. Other
* successful queries will return TRUE and failing queries will return FALSE.
function db_query($query) {
$args = func_get_args();
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