2
Create an new paradox database with 100 records (Double, Boolean, Alpha)
4
<?php if (!extension_loaded("paradox")) print "skip"; ?>
10
$dirname = dirname($_SERVER["SCRIPT_FILENAME"]);
12
$fp = fopen($dirname."/px004.db", "w+");
13
$fields = array(array("col1", "N"), array("col2", "L"), array("col3", "A", 15));
14
@px_create_fp($pxdoc, $fp, $fields);
15
px_set_tablename($pxdoc, "testtabelle");
16
for($i=-50; $i<50; $i++) {
17
$rec = array($i*0.001, $i<0, "Nummer $i");
18
px_put_record($pxdoc, $rec);
22
unlink($dirname."/px004.db");