Html file -
<html>
<body>
<form action=Que14.php method=get>
<center>
Full Name :<input type=text name=nm>
<font color=red size=2>(Format is:First,Middle,Surname) </font>
Email ID :<input type=text name=eid>
<input type=submit value=Show>
</center>
</form>
</body>
</html>
Php file -
<?php
$nm=$_GET['nm'];
$eid=$_GET['eid'];
echo "<br>Capitalization of each word of each name :".ucwords($nm);
$e=explode('@',$eid);
If (count($e)==2)
{
echo "<br>Email id contains @ symbol ";
}
else echo "<br>email id doesn’t contains @ symbol or contains more @ symbol";
?>