note 26629 added to ref.dbase

From: Date: Thu, 07 Nov 2002 12:13:51 +0000
Subject: note 26629 added to ref.dbase
Groups: php.notes 
Request: Send a blank email to php-notes+get-39092@lists.php.net to get a copy of this message
To retrieve the name of the fields. $dbi = dbase_open($db_path, 0); // opens the dbf file $res = dbase_get_record_with_names($dbi, 1); // throw record 1 into associative array key=>value $cles = array_keys($res);// retrieves all the keys from previous array, which are field names. -- http://www.php.net/manual/en/ref.dbase.php http://master.php.net/manage/user-notes.php?action=edit+26629 http://master.php.net/manage/user-notes.php?action=delete+26629 http://master.php.net/manage/user-notes.php?action=reject+26629

« previous php.notes (#39092) next »