Write a PHP script for the following: Design a form to accept a string. Write a function to count the total number of vowels (a,e,i,o,u) from the string. Show the occurrences of each vowel from the string. Check whether the given string is a palindrome or not, without using built-in function. (Use radio buttons and the concept of function. Use ‘include’ construct or require stmt.) File Name : new.html
Write a PHP script for the following: Design a form to accept a string. Write a function to count the total number of vowels (a,e,i,o,u) from the string. Show the occurrences of each vowel from the string. Check whether the given string is a palindrome or not, without using built-in function. (Use radio buttons and the concept of function. Use ‘include’ construct or require stmt.)
Write a PHP script for the following: Design a form to accept a string. Write a function to count the total number of vowels (a,e,i,o,u) from the string. Show the occurrences of each vowel from the string. Check whether the given string is a palindrome or not, without using built-in function. (Use radio buttons and the concept of function. Use ‘include’ construct or require stmt.)
File Name : new.html
<html>
<body>
<form action="new.php" method=POST>
<pre>
Enter string : <input type="text" name=str>
<input type="radio" name=ch value="1"> Vowel Count
<input type="radio" name=ch value="2"> Vowel Occurance
<input type="radio" name=ch value="3"> Palindrome
<input type="submit" value="submit" >
</pre>
</form>
</body>
</html>
File Name : new.php
Comments
Post a Comment
Thank you for being my friend