A
Anonymous
Guest
Code:
function check_num($check1="",$check2="",$check3=""){
$check="$check1,$check2,$check3";
$turn_array=explode(",",$check);
while(list($key,$value)=each($turn_array)){
if (!is_array($value)){
echo "Please fill in your form properly";
}
}
}
check_num(bomb,1,Please);
If the check_num() contains one or more non-array value,it will repeat "Please fill in your form properly"...so how to solve this problem?
Thank you.