Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to make sure blank messages cannot be sent PHP Validation [closed]
- if(!empty($string)) {
- 1234567890-=qwertyuiop[]asdfghjkl'#zxcvbnm,./!"£$%^&*()_+|?<>
- if(trim($string) != "") {
- if (preg_match('/[0-9a-zA-Z-=[]'#\,./!"£$%^&*()_+|?<>]+/is', $string)) {
Add Comment
Please, Sign In to add comment