2)
{
$filename = $bits[0];
$delimiter = $bits[1];
$lookupcol = $bits[2] + 1;
$valuecol = $bits[3] + 1;
}
}
//Present the UI to the user...
?>
There are two distinct sections of the file.
===Loading Values===
First, we setup our default values. If there is already an existing address for this data source, we then replace those defaults with the values from that existing address.
===Presenting the UI===
Then, we present the UI to our users in an HTML table.
Each option starts with a **label**, followed by the **input** controls needed.
...
When the user saves this information, the [[saveconfig-source_php|saveconfig-source.php]] file is called to take the various properties and copy them to a single string - the address that is sent to your Python driver.