Modified the test
to make it more robust
This commit is contained in:
parent
78bb2f232e
commit
a022bcf8a6
|
@ -36,7 +36,7 @@ function test()
|
|||
$field = sqlsrv_get_field($stmt, 0);
|
||||
if (! $field) { print_errors(); }
|
||||
|
||||
$row = sqlsrv_fetch($stmt, SQLSRV_SCROLL_ABSOLUTE, 3);
|
||||
$row = sqlsrv_fetch($stmt, SQLSRV_SCROLL_LAST);
|
||||
$field = sqlsrv_get_field($stmt, 0);
|
||||
if (! $field) { print_errors(); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue