dbase functions problems

From: Date: Tue, 22 Apr 2003 18:47:14 +0000
Subject: dbase functions problems
Groups: php.db 
Request: Send a blank email to php-db+get-27272@lists.php.net to get a copy of this message
I can read in information from my DBF. However when I try to write - either add a new record or replace an exising row - I get: Warning: unable to put record at 1236 in D:\www\transcribe\transcribe.php on line 37 Below is the code I'm using: $rec = dbase_get_record($fp, $current); // remove the deleted tag for ($ele = 0; $ele < count($rec) - 1; $ele++) { $vals[$ele] = $rec[$ele]; } echo "Updating $current <br>"; $vals[35] = "M"; $stat = dbase_add_record($fp, $vals); echo "Replace = $stat<br><br>";

« previous php.db (#27272) next »