Gossamer Forum
Home : Products : DBMan : Customization :

? build select from external DB/file - based on specific input

Quote Reply
? build select from external DB/file - based on specific input
I've created a comma delimited file with 2 fields, district and site. example:

"District A","School Site 1"

"District A","School Site 2"

"District B","School Site"

Now, I want to in my cfg file have two fields, one would be the District name and the other the file name to find the select.

I'm confused by which of the several mods that build selects from an external file or DB to use!

I was hard coding the site information in the cfg file for each district when I set up the database. Now that is getting combersome. For each District I now have 6 .cfg files and 6 .db files along with 1 .pass, .count and .log file.

It would be much easier for me to have one text file that I can update and keep the list of sites for all districts in.

So, what mod would be best to check a text file based on the district variable set in the .cfg and create the select box for their sites?

Thanks for your help!
Lynette
Hollister, Ca