February 2000
Intermediate to advanced
364 pages
11h 47m
English
state
$str = $h->state;
Returns an
error code in the standard SQLSTATE five-character format. Note that
the specific success code 00000 is translated to
0 (false). If the driver does not support SQLSTATE
(and most don’t), then state will return
S1000 (General Error) for all errors.
Read now
Unlock full access