Search
 
SCRIPT & CODE EXAMPLE
 

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";
}
Comment

PREVIOUS NEXT
Code Example
Php :: jquery send form data to php 
Php :: change default user table name laravel 
Php :: localhost redirected you too many times. php 
Php :: Multiple image upload with CodeIgniter 
Php :: symfony messenger rabbitMQ 
Php :: laravel faker values 
Php :: Change date format on view - laravel 
Php :: how to get the root domain in laravel 
Php :: imagick php 
Php :: php isset form submit 
Php :: clear cache in laravel without artisan 
Php :: php while jump to next loop 
Php :: laravel select 
Php :: php dom get element innerhtml 
Php :: php multiplication 
Php :: php add to array 
Php :: php get filename 
Php :: mysqli real escape string 
Php :: substr php 
Php :: strpos php 
Php :: file upload using ajax in laravel 
Php :: woocommerce update_status 
Php :: laravel model factory attribute 
Php :: fillable vs guarded laravel 
Php :: remove square brackets from string php 
Php :: arc cosine php 
Php :: magento 1.9 get all product 
Php :: PHP Ternary Operator With Elseif Example 
Php :: laravel basic login 
Php :: spatie activity log 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =