Starting a new series about code Snippets, In this series we share some useful code snippets of HTML, HTML5, CSS, CSS3, PHP, Javascript and jQuery snippets. We hope that these snippets will worthwhile for our readers and should help in your projects.
Today we share a PHP Code Snippets “Check valid email address”.
[php]
This is a valid email.
‘;
}else{
echo ‘
This is an invalid email.
Hide Private Content From Non Users With PHP Code Snippet‘;
}
}
?>
[/php]
How To Allow PHP In WordPress Widget Area Without Plugin