i think that was the problem i wrote it in gedit and pasted to ide in the end i got fed up and deleted the code and went to bed next day ireworte it and was fine
Type: Posts; User: bean
i think that was the problem i wrote it in gedit and pasted to ide in the end i got fed up and deleted the code and went to bed next day ireworte it and was fine
if(var.equals("Namibia")||var.equals("South Africa")){
laninsert="no,af,en-us";
}
if(var.equals("Albania")||var.equals("Kosovo")||var.equals("Spain")){
...
my head is wrecked i have code below the if is fine but the else if throws error at bottom
String var="";
String laninsert="";
if(var.equals("Namibia")|var.equals("South Africa")){
...