Code: Select all
preg_match("#[^a-zA-Z0-9\s\.-\,]#", $_POST['city'])
error: Warning: preg_match() [function.preg-match]: Compilation failed: range out of order in character class at offset 17Moderator: General Moderators
Code: Select all
preg_match("#[^a-zA-Z0-9\s\.-\,]#", $_POST['city'])
error: Warning: preg_match() [function.preg-match]: Compilation failed: range out of order in character class at offset 17