Interbase function ibase_errmsg()

admin

Administrator
Staff member
Hi,

I want to show a error message withe the function ibase_errmsg() in my code after the function ibase_query();

Example
-------
$this->result = ibase_query("EXECUTE PROCEDURE INSERT '".$var1."','".$var2."');

echo"line A <br>";

ibase_errmsg();

echo"line B <br>";
-------
The $var1 is a not-null field.
When $var1 is not-null, Interbase do error and don't insert the fields, ok.

The result is only
line A
line B

Of course, php show a warning error, but it doesn't using the function ibase_errmsg();

Please, help me

Rodrigo
 
Back
Top