dbase functions problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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>";





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux