Problam in the IsEnglish
#1

I made stock that checked if the string is in english .. and it's not work -

PHP код:
stock IsEnglish(TMP[])
{
for(new 
0strlen(TMP); h++)
{
if(
TMP[h] > 'a' && TMP[h] < 'Z') return 1;
else return 
0;
}
return 
1;

what not good here?

Thanks
Reply


Messages In This Thread
Problam in the IsEnglish - by tal_peretz - 17.03.2012, 19:36
Re: Problam in the IsEnglish - by mineralo - 17.03.2012, 20:22
Re: Problam in the IsEnglish - by tal_peretz - 18.03.2012, 10:14
Re: Problam in the IsEnglish - by Shabi RoxX - 18.03.2012, 10:19
AW: Problam in the IsEnglish - by Tigerkiller - 18.03.2012, 10:28
Re: AW: Problam in the IsEnglish - by tal_peretz - 18.03.2012, 10:40
Re: Problam in the IsEnglish - by tal_peretz - 18.03.2012, 16:42

Forum Jump:


Users browsing this thread: 9 Guest(s)