|
sqlsrv_fetch_arrayReturns a row as an array Beschreibung
array sqlsrv_fetch_array
( resource
$stmt
[, int $fetchType
[, int $row
[, int $offset
]]] )Returns the next available row of data as an associative array, a numeric array, or both (the default). Parameter-Liste
Rückgabewerte
Returns an array on success, Beispiele
Beispiel #1 Retrieving an associative array.
<?php
Beispiel #2 Retrieving a numeric array.
<?phpAnmerkungen
Not specifying the If more than one column is returned with the same name, the last column will take precedence. To avoid field name collisions, use aliases. If a column with no name is returned, the associative key for the array element will be an empty string (""). Siehe auch
|