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

search for in the

ibase_num_params> <ibase_name_result
[edit] Last updated: Fri, 17 May 2013

view this page in

ibase_num_fields

(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 - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites