-2
Kodum çalışmıyor: Değerleri COMMENTS kutusuna saymak doğru mu?Nasıl charectors uzunluklarını IF (COUNT()) düzeltmek için
//function to count the entered text in COMMENTS section
function isEligible($comments)
{
if(count($comments <12 && $comments > 40))
{
print "Plz enter the value between 12_40";
return false;
}
return true;
}
[strlen] (http://www.php.net/manual/en/function.strlen.php) –
"$ comments" değişkeninin türü nedir - dizi veya dizgi? – mitkosoft
@HankyPanky evet haklısınız, yazım hatası –