Hi,
To download some information from my site I'm using the following code to create a dbase file. This is similar to the procedure described in the manual.
$dbname = "marreg.dbf";
$def =
array (
array("Regist_id","N",5,0),
array("Name","C",30),
array("First_name","C",30),
array("Email_from","C",30),
array("Distance","N",2,0),
array("Street","C",30),
array("Zip_Code","C",30),
array("City","C",30),
array("Country","C",30),
array("Nat","C",30),
array("Year_birth","C",30),
array("Gender","C",1),
array("Club","C",30),
array("Best_time","C",30),
array("Number_PP","C",30),
array("Tshirt","C",2),
array("Comments","C",250),
array("Amount","N",10,0),
array("res_time","C",12)
);
$dbase_ident=dbase_create($dbname,$def);
My provider migrated to php4 and since than I receive the following error message .
Warning: second parameter must be array of arrays in /home/avialux/public_html/marathon/make_reg_list_n.php on line 37
It seems that the dbase_create doesn't like my definition $def anymore (php4 only, no problem with php3)! That's the way it is described in the manual and to me, $def is definitly an array of arrays . Any help would be appreciated !
Regards
Alain