php-db | 2001072
Date: 07/27/01
- Next message: CC Zona: "[PHP-DB] Re: (preg_match ?"
- Previous message: Meng Yoke: "[PHP-DB] ODBC failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
when I trying to execute the following php code:
<?
$connid=ifx_connect("basename","username","password" );
$q="execute procedure test()";
$i=ifx_query($q,$connid);
echo( ifx_errormsg() );
ifx_free_result($i);
?>
and stored procedure is:
CREATE PROCEDURE TEST()
RAISE EXCEPTION -746, 0, "testing...";
END PROCEDURE
I expect to see "testting..." but see nothing :-(
After some debuging I found out that while sqlca.sqlcode is equal -746,
sqlca.sqlerrm is empty.
I suppose it is informix/php interface bug because correspondent esqlc code
works with sqlca structure fine,
but I am not php or esqlc developer to patch php source :-(
Is there a way to send the message by stored pocedure exception to php?
Best wishes
Andrey Glukhov
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: CC Zona: "[PHP-DB] Re: (preg_match ?"
- Previous message: Meng Yoke: "[PHP-DB] ODBC failed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

