0% found this document useful (0 votes)
8 views

PHP Index

Php

Uploaded by

jyotikedar0705
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

PHP Index

Php

Uploaded by

jyotikedar0705
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

INDEX

Sr. No. Practical Name Sign


1 write a php script to print prime numbers between 1-50

PHP script to
find the length of a string
2 count numbers of words in a string
reverse a string
search for a specific string

write a php script for the following Design a form to accept a


string. write a function to count the total number of
3 vowels(a,e,i,o,u)from the string show the occurences of each vowel
from the string. check whether the given string is a palindrome or
not without using built-in functions.

write a php script for the following Design a form to accepts two
strings from the users find the first occurence and the last
4 occurance of the small string in the large string provide a text box
to accept a string which will replace the small string in the large
string

Accept a string from the user and check whether it is a palindrome


5 or not (Implement stack operations using array built-in functions).

Write a PHP script to merge two arrays and sort them as numbers,
6 in descending order.
Define an interface which has methods area (), volume( ). Define
constant PI. Create a class cylinder which implements this
7
interface and calculate area and volume.
Write a Script to Create a database insert data in it and display all
8 the contents
9
Write class declarations and member function definitions for an
employee (code, name, desgnation). Derive emp_account
(account_no, joining_date) from employee and emp_sal(basic_pay,
earnings, deduction) from emp_account. Write a menu driven
program
 To build a master table
 To sort all entries
 To search an entry
 Display salary

Write a program to accept details of a square, circle and rectangle


10 and display the area using Implement interfaces

Create a login form with a username and password. Once the user
logs in, the second form should be displayed to accept user details
11 (name, city, phoneno). If the user doesn‟t enter information within
a specified time limit, expire his session and give a warning.

Write a javascript to display message „Good Morning‟ using alert


12 box.

13 Write a javascript to display message „Good Afternoon‟ using function.


(Hint: use Event „Onload‟).

Write a javascript function to validate username and password for


14 a membership form.

Using Javascript function, display the string in different formatting


15 styles (Bold, italic, underline, strikethrough, hypertext etc)

You might also like