|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-07-28 18:48 UTC] t0020776 at tpts8 dot seed dot net dot tw
Warning: second parameter must be array of arrays in /home/www/data/test4.php on line 9
<?php
// "database" name
$dbname = "/tmp/test.dbf";
// database "definition"
$def=array(array("date","D"),array("name","C",50),array("age","N",3,0),array("email","C",128),array("ismember", "L"));
// creation
if (!dbase_create($dbname, $def))
print "<strong>Error!</strong>";
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
Are you sure you have copy-pasted that example right? This is wrong: array("name&uot;,"C", 50) It should be: array("name","C",50) Please check your code if it has that same typo.. --Jani