ironhide1975
Programmer
Not sure if this can be done, but I am working with a website with multiple languages. I want to have the site have a predefined list of variables for each web page. When the page is execute it will go to the database and pull back the appropriate words for that language.
I am having a problem at the part where you pull back the variable and specify what it is. Here is my code
So say in the database you had the variable TLanguage and the fkLanguage = 1 and the word is 'Language'
Any help is greatily appreciated.
I am having a problem at the part where you pull back the variable and specify what it is. Here is my code
Code:
WordItems = WordItems & ",TLanguage,TRegisterName,TLogin,TLogout,TPassword,TSelect,TEdit,TProductSearch"
MyArray = split(WordItems,",")
For I=0 to Ubound(MyArray)
TempSubXNoID=myArray(I)
'Roll Through Carry Thru Sub Numbers====================================
sSQLC = "SELECT * FROM [GENERAL-WordItems_Master] WHERE Abbreviation = '"& TempSubXNoID &"'"
set rsGetC = Conn.Execute(sSQLC)
TempItem = rsGetC("WordName")
myArray(I) = TempItem
'now how do I say whatever the name of TempSubXnoID is, please set it to TempItem?
Next
So say in the database you had the variable TLanguage and the fkLanguage = 1 and the word is 'Language'
Any help is greatily appreciated.