Functions | |
find_field ($item, $key) | |
Variables | |
$_SESSION = array() | |
$_SESSION ["UserName"] = "" | |
$_SESSION ["Password"] = "" | |
$tablename = "meter" | |
$path = "c:\\temp\\" | |
$files = array("meter.dbf") | |
$result = dbx_query($rdbms, "delete from $tablename") | |
$fields | |
$fields_dbf = array() | |
$fields_dbx = array() | |
$fields_keys = array_keys($fields) | |
$field_index = array() | |
$record = dbase_get_record_with_names($dbf, 1) | |
$keys = array_keys($record) | |
exit | |
$str_field_names = $fields_dbx[0] | |
$record_names = array_keys($record) | |
$record = array_values($record) | |
$insert = "insert into $tablename (" | |
$insert = $insert.$str_field_names | |
$insert = $insert.") values (" | |
$value = "" | |
$insert = $insert."'$value'" | |
$result = dbx_query($rdbms, "$insert") | |
$i = $i-1 |
|
|
|
|
|
|
|
|
|
|
|
Initial value: array ("AdministrativeArea" => "String", "FacilityID" => "String", "LocationDescription" => "String", "LifecycleStatus" => "Number", "ArabicLocationDescription" => "String", "Elevation" => "Number", "Subtype" => "Number", "WaterType" => "Number", "OperationalArea" => "Number", "Diameter" => "Number", "FlowRange" => "String", "Measurement1" => "Number", 'Rotation' => 'Number', 'PressureRating' => 'Number', 'Owner' => 'String', 'Subscription' => 'String', 'Use' => 'Number', 'Aggregation' => 'String', 'AgencyCode' => 'String', 'Destination' => 'Number' ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|