Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

text box should accept only alphanumeric not special characters in php

if(ctype_alnum($string)){
    echo "Yes, It's an alphanumeric string/text";
}
else{
    echo "No, It's not an alphanumeric string/text";
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #text #box #accept #alphanumeric #special #characters #php
ADD COMMENT
Topic
Name
6+3 =