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

search for in the

ibase_num_params> <ibase_name_result
Last updated: Fri, 18 Jul 2008

view this page in

ibase_num_fields

(PHP 4, 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
There are no user contributed notes for this page.

ibase_num_params> <ibase_name_result
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites