#27377 [Opn->Fbk]: sqlite_query returns false on remark
| From: | nlopess@php.net | Date: | Tue, 24 Feb 2004 17:59:49 +0000 |
| Subject: | #27377 [Opn->Fbk]: sqlite_query returns false on remark | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359210@lists.php.net to get a copy of this message | ||
ID: 27377
Updated by: nlopess@php.net
Reported By: momo@php.net
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: windows 2000
PHP Version: 4.3.5RC3
New Comment:
Hi momo!
This is not the place to ask questions :)
Please contact one of the maintainers of the extension (Wez Furlong,
Tal Peer, Marcus Börger or Ilia Alshanetsky) and then tell us the
answer :)
Previous Comments:
------------------------------------------------------------------------
[2004-02-24 08:05:17] momo@php.net
Description:
------------
on the sqlite_query() documentation mention that:
" ...For other kinds of queries, this function will return a boolean
result; TRUE for success or FALSE for failure."
but the above Reproduce code show that on comments the sqlite return
false. so we have here sqlite or php or phpdoc bug.
Reproduce code:
---------------
<?
$db = sqlite_open("temp.db");
if(!sqlite_query($db,"-- just a remark")){
echo "is this intended behavior?";
} else {
echo "ok";
}
sqlite_close($db);
?>
Expected result:
----------------
is this intended behavior?
Actual result:
--------------
ok
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27377&edit=1