User Contributed Notes 2 notes

I would like to emphasize that record numbers begin with 1, not 0. So, this is wrong:<?php$recCnt = dbase_numrecords($fh);for ($recNum = 0; $recNum < $recCnt; $recNum++) {// wrong! first record will fail$record = dbase_get_record_with_names($fh, $recNum);}?>