note 16027 added to ref.ifx
| From: | jonathan dot leffler at informix dot com | Date: | Sat, 13 Oct 2001 00:50:54 +0000 |
| Subject: | note 16027 added to ref.ifx | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18871@lists.php.net to get a copy of this message | ||
Is there a formal way to suppress the error messages from a failed ifx_query() function? The
workaround I'm using is:
echo "<!--\n";
ifx_query("DROP TABLE date_list", $dbh);
echo "-->\n";
The date_list table is a temporary table that won't exist, in general. By using the echo
commands on either side, I conceal the error output (-206: the sepcificed table does not exist in
the database) in an HTML comment, but it doesn't feel very clean.
--
http://www.php.net/manual/en/ref.ifx.php
http://master.php.net/manage/user-notes.php?action=edit+16027
http://master.php.net/manage/user-notes.php?action=delete+16027
http://master.php.net/manage/user-notes.php?action=reject+16027