|
mysqli_result::$field_countmysqli_num_fieldsGet the number of fields in a result BeschreibungObjektorientierter Stil int$mysqli_result->field_count;
Prozeduraler Stil
int mysqli_num_fields
( mysqli_result
$result
)Returns the number of fields from specified result set. Parameter-Liste
RückgabewerteThe number of fields from a result set. BeispieleBeispiel #1 Objektorientierter Stil
<?phpBeispiel #2 Prozeduraler Stil
<?phpDie obigen Bespiele erzeugen folgende Ausgabe: Result set has 5 fields. Siehe auch
|