note 10036 added to ibase_field_info
| From: | helio at helio dot com dot br | Date: | Fri, 08 Dec 2000 19:53:53 +0000 |
| Subject: | note 10036 added to ibase_field_info | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8534@lists.php.net to get a copy of this message | ||
Example:
$rs=ibase_query("Select * from something");
$coln = ibase_num_fields($rs);
for ($i=0 ; $i < $coln ; $i++) {
$col_info = ibase_field_info($rs, $i);
echo "<br>name: ".$col_info['name']."\n";
echo "<br>alias: ".$col_info['alias']."\n";
echo "<br>relation: ".$col_info['relation']."\n";
echo "<br>length: ".$col_info['length']."\n";
echo "<br>type: ".$col_info['type']."\n";
}
http://www.php.net/manual/function.ibase-field-info.php