Menu
Php validation
if(!preg_match(‘^[a-zA-Z]+$’,$_POST[‘username’]))
I want to make it that $_POST[‘username’] can [B]only
I don’t know how to do this, I am very new to php and would like some help, this error message is coming up:
Warning: preg_match() [function.preg-match]: No ending delimiter ‘^‘ found in