Hello, im trying to get preg_match to check if two characters exist in my input field but im not quite sure how it works. This is what I got
This will be true if i have either . or @ but I wanna check if the post have them both, does anyone know how to do this?PHP Code:if(preg_match('/.@/' , $_POST['variable'])) {...



Reply With Quote



Bookmarks