Is it possible to lookup a value in a MYSQL table or UDT, based on the IFRAME MODULE TITLE, which would then be used by the querysting?
For example: I have an database table with the key "ID", which corresponds to teams. "0002" = Team 1, "0037" = Team 2, etc. The title of the IFrame modules are "Team 1", "Team 2", etc. What I'm doing now, is using "http://www.blahblah.com/viewstats/?opt=viewteam" as the location, and setting up a static value querstring "ID" = 0002, in order to return http://www.blahblah.com/viewstats/?opt=viewteam&id=0002. Technically, since I have to code every module seperately, there really is no reason to use the querystring, as I could just "hard code" the URL, but that's besides the point.
Instead of having to manually enter, as a static value, the corresponding ID for each module throughout the site, is it possible to lookup the ID in another table, based on the module title and have it return it so I can pass it to the URL?
Thanks for any help.