note 61757 deleted from function.dbase-replace-record by cmb
| From: | cmb@php.net | Date: | Sat, 06 Aug 2016 14:22:49 +0000 |
| Subject: | note 61757 deleted from function.dbase-replace-record by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206223@lists.php.net to get a copy of this message | ||
Note Submitter: hassan at datakillarna dot se
----
If you get "unexpected error", try to change the assoc array, $row, to an indexed array
with array_values().
Example:
<?php
$row = array_values($row);
dbase_replace_record($db, $row, 1);
?>
The dbase_replace-function cannot handle an assoc array.
Hope this will save someone a headache! ;)