OK in another post i was given this weel actually it was different than this but i changed it.
if (preg_match ('@[a-z() -]+@',$state) )
{
}
else {
$binvalid = "<br>Invalid State Please enter Letters Only";
$send = "no";
}
But I can enter Sc in the text box and it will work but when i enter in SC into the text box it wont work, and i dont like that. Is there anyway where i can chnge it so it will accept caps and lower case?
Ps. i have already tried replacing a-z with A-Z and it wont work!!! Need help fast Please.
:eek: