Hi,
I want to make a php validation for textbox which limit user to enter only character.
i using following code
function validate_alpha($val)
{
return eregi("[^0-9]",$val);
}
if i type 123 it will give error. that is ok.
but when i type keval123 it doesn't produce error.
how to solve this problem.
-keval