17.03.2012, 19:36
I made stock that checked if the string is in english .. and it's not work -
what not good here?
Thanks
PHP код:
stock IsEnglish(TMP[])
{
for(new h = 0; h < strlen(TMP); h++)
{
if(TMP[h] > 'a' && TMP[h] < 'Z') return 1;
else return 0;
}
return 1;
}
Thanks
![Smiley](images/smilies/smile.png)