downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ibase_num_params> <ibase_name_result
Last updated: Fri, 30 Oct 2009

view this page in

ibase_num_fields

(PHP 4, PHP 5)

ibase_num_fields Ermittelt die Anzahl der Felder einer Ergebnis-Liste

Beschreibung:

int ibase_num_fields ( int $result_id )

Der zurück gegebene Integer-Wert stellt die Anzahl der Felder einer Ergebnis-Liste dar.


<?php
$dbh = ibase_connect ($host, $username, $password);
$stmt = 'SELECT * FROM tblname';
$sth = ibase_query ($dbh, $stmt);

if (ibase_num_fields($sth) > 0) {
while ($row = ibase_fetch_object ($sth)) {
print $row->email . "\n";
}
} else {
die ("Keine Ergebnisse für ihre Abfrage");
}

ibase_close ($dbh);
?>

Siehe auch: ibase_field_info().

Hinweis: ibase_num_fields() funktioniert z.Zt. nicht bei PHP 4.



add a note add a note User Contributed Notes
ibase_num_fields
There are no user contributed notes for this page.

ibase_num_params> <ibase_name_result
Last updated: Fri, 30 Oct 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites