I. Na początek
II.Instalacja i konfiguracja
III. Opis języka
IV. Bezpieczeństwo
V. Możliwości
VI. Opis funkcji
VII. Zend API
VIII. PHP API: Interfejs rozszerzeń
X. Dodatki

Manual PHP

Zapraszam do korzystania z zamieszczonego przeze mnie manuala php. Mam nadzieję, że ta jego kopia przyda się zarówno profesjonalnym programistą, jak i początkującym twórcą skryptów PHP.

Autorzy

Mehdi Achour,
Friedhelm Betz,
Antony Dovgal,
Nuno Lopes,
Philip Olson,
Georg Richter,
Damien Seguy,
Jakub Vrana,
I kilka innych

Redakcja:

Gabor Hojtsy,
Marcin Dąbrowski, Michał Grzechowiak, Leszek Krupiński, Adam Major, Paweł Paprota, Michał Pena, Sławomir Pucia, Jarek Tabor, Tomasz Wójtowicz,

dbase_numfields

(PHP 3, PHP 4, PHP 5)

dbase_numfields -- Gets the number of fields of a database

Opis

int dbase_numfields ( int dbase_identifier )

Gets the number of fields (columns) in the specified database.

Notatka: Field numbers are between 0 and dbase_numfields($db)-1, while record numbers are between 1 and dbase_numrecords($db).

Parametry

dbase_identifier

The database link identifier, returned by dbase_open() or dbase_create().

Zwracane wartości

The number of fields in the database, or FALSE if an error occurs.

Przykłady

Przykład 1. dbase_numfields() Example

<?php

$rec
= dbase_get_record($db, $recno);
$nf  = dbase_numfields($db);
for (
$i = 0; $i < $nf; $i++) {
  echo
$rec[$i], "\n";
}

?>

Patrz także

dbase_numrecords()


print 'dom weselny Warszawa 1171501847' . "\n"; print 'dentysta Kraków 1171501590' . "\n"; print 'Viagra 1171501572' . "\n"; print ' Pompy print 'remonty bytom 1171501579' . "\n";