|
sqlsrv_get_fieldGets field data from the currently selected row Description
mixed sqlsrv_get_field
( resource
$stmt
, int $fieldIndex
[, int $getAsType
] )Gets field data from the currently selected row. Fields must be accessed in order. Field indices start at 0. Parameters
Return Values
Returns data from the specified field on success. Returns Examples
Example #1 sqlsrv_get_field example The following example demonstrates how to retrieve a row with sqlsrv_fetch and get the row fields with sqlsrv_get_field.
<?php See Also
|