Reporting an Informix error
function chk_ifx_err1($result_id) {
$err_string = ifx_error($result_id);
/* Note: error If 1st character of err_string is not blank */
if ($err_string[0] != ' ') {
printf("Informix error: %s", ifx_errormsg());
Warning: E [SQLSTATE=IX 000 SQLCODE=-952]
in /u/www/lapdog/php_demo/php_demo4.php3 on line 40Unable to connect to Informix databaseInformix error: User's password is not correct for the database server.