PHP Index
PHP Index
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 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
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
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.