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="lowercase"/>
</form>
</body>
</html>
In Php File:
<?php
$word=$_POST['word'];
echo ucfirst($word);
?>
Example Download....!
No comments: