Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php validate name
Ashleigh Boyle
Programming language:
PHP
2021-04-14 21:11:15
0
Q:
php validate name
Keith McClary
Code:
PHP
2021-05-20 02:43:12
if
(preg_match("/^([a-zA-Z' ]+)$/",$
name
)){ retun
true
; //
is
validate
name
}
1
Tags
name
php
date
Related
php is variable a number
php check empty variable
how to check if PHP variable contains non-numbers?
php check if valid xml
php check if variable exists
validate names regex php
regex validation of name in php
valid number in excel php
php is numeric
how to validate phone number in php procedural programming
php.validate.executablePath
php filter validate email
php validate email
php check if parameter exists
php validate only numbers
valide email php
folder name escape php
PHP detect spam name
New to Communities?
Join the community