(3.0.3 - 3.0.18 only, PHP 4 >= 4.0.0)
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.