(PHP 3>= 3.0.3, PHP 4 >= 4.0b1)
int hw_error (int connection)
int hw_error
Returns the last error number. If the return value is 0 no error has occurred. The error relates to the last command.