|
Sr.No |
Name Of Practical |
VIEW |
|
1 |
Write a php program to swap two number |
|
|
2 |
Write a php program to
calculating the area of a circle using
function. |
VIEW |
|
3 |
Wwrite a php pogram
to display multiplication table get value by user. |
VIEW |
|
4 |
Write a PHP script for the
following: Design a form to
accept a string. Write a function to countthe 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.) |
VIEW |
|
5 |
Write a PHP script for the
following: Design a form to accept two numbers from the user.
Give options to choose the
arithmetic operation (use radio buttons).
Display the result on the next form.
(Use the concept of function and default parameters. Use ‘include’ construct or require stmt). |
VIEW |
|
6 |
Write a PHP script for the
following: Design a form to
accept two strings. Compare the two strings
using both methods (= = operator &strcmp function). Append second string to the first string. Accept the position from the user; from
where the characters from the
first string are reversed. (Use radio buttons) |
VIEW |
|
7 |
Write PHP script to define
an interface which has methods
area(), volume(). Define constant PI. Create
a class cylinder which implements this interface and calculate area and volume |
VIEW |
|
8 |
Write a PHP program that
accept number of electricity units
consumed from an input form
and print electricity bill from following data · For first 50 · Fixed meter and
service charge- Rs. 150/- |
VIEW |
|
9 |
write a php program to get email
from user and
store it in database. |
VIEW |
|
10 |
Write a php
code design a form and
get multiple data
feom user and store
it into a database. |
VIEW |