tcadieux
Junior Member
153 Posts |
Posted - 18 October 2006 : 15:48:40
|
I've created 2 new variables identified below, i added them to the members.asp and I added this code...
pop_profile.asp Err_Msg = Err_Msg & "<li>" & fLang("L_Members_NEW_001") & "</li>"
Members.asp L_Members_NEW_001 ="You must provide your Rank"
When i run pop_profile.asp though, I get this, *Members NEW 001
I understand that this means the variable is empty, as per the below function, i just can't figure out why? Is there an initialisation script somehwere i ned to run?
inc_language.asp function fLang(s) if isEmptyNull(eval(s)) then 'unlocalize, use name of variable, add mark "*" fLang = "*" & replace(mid(s, 3),"_", " ") 'fLang ="You dumb ****!" else fLang = eval(s) ' commented out for IIS 4 compatibility, all related function calls changed end if 'fLang=s end function < |
|