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 Ottiene il numero di campi in un result set

Descrizione

int ibase_num_fields ( int $result_id )

Restituisce un integer contenente il numero di campi in un result set.

<?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 (
"Nessun result รจ stato trovato per la tua query");
       }

       
ibase_close ($dbh);
       
?>

Vedere anche: ibase_field_info().



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 | stats | sitemap | contact | advertising | mirror sites