Slip no.9. Create a HTML form that accept user email. Write a PHP program to check whether user email address contain @ symbol or not. Display proper message.
HTML file :
<form action=slip9_Q1.php method=get>
<br>Email ID :<input type=text  name=eid>
<br><input  type=submit  value=Show>

PHP file :
                if (count($e)>=2)
                echo "<br>Email id contains @ symbol ";
                                echo "<br>email id does not contains  @ symbol";


No comments:

Post a comment

Note: only a member of this blog may post a comment.