How to use (bug #18747)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164482 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2004-07-27 18:48:22 +00:00
parent 55cf035cb1
commit 90e7198702

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/pgsql.xml, last change in rev 1.82 -->
<refentry id='function.pg-result-error'>
<refnamediv>
@ -20,6 +20,11 @@
user has better chance to get better error message than
<function>pg_last_error</function>.
</para>
<para>
Because <function>pg_query</function> returns &false; if the query fails,
you must must use <function>pg_send_query</function> and
<function>pg_get_result</function> to get the result handle.
</para>
<para>
See also <function>pg_query</function>,
<function>pg_send_query</function>,