
In HTML File
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<form action="cases.php" method="post">
Type any word<input type="text" name="word"/>
<input name="submit" type="submit" value="Length"/>
</form>
</body>
</html>
Note : Enter the words in Text box "Haider Ali"
In Php File:
<?php
$word=$_POST['word'];
echo trim($word,"Hai");
?>
Example Download....!
+PHP Development Outsourcing +PHP Developers +PHP Tutorials +PHP Programming +My PHP Developers +My PHP Developers
No comments: