|
maxdb_fetch_lengthsmaxdb_result::lengthsReturns the lengths of the columns of the current row in the result set BeschreibungProzeduraler Stil
array maxdb_fetch_lengths
( resource
$result
)Objektorientierter Stil array$maxdb_result->lengths;
The maxdb_fetch_lengths function returns an array containing the
lengths of every column of the current row within the result set represented by the
Rückgabewerte
An array of integers representing the size of each column (not including
any terminating null characters).
maxdb_fetch_lengths is valid only for the current row of the result set.
It returns BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: Field 1 has Length 4 Field 2 has Length 3 Field 3 has Length 5 Field 4 has Length 6 Field 5 has Length 5 Field 6 has Length 21 |