0% found this document useful (0 votes)
7 views1 page

WBP Experiment List

The document lists various PHP programming tasks for a practical exam, including programs for calculations, logical operations, and data handling. It covers topics such as arrays, functions, inheritance, forms, sessions, cookies, and database interactions. Each task is aimed at demonstrating specific programming concepts and skills in PHP.
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)
7 views1 page

WBP Experiment List

The document lists various PHP programming tasks for a practical exam, including programs for calculations, logical operations, and data handling. It covers topics such as arrays, functions, inheritance, forms, sessions, cookies, and database interactions. Each task is aimed at demonstrating specific programming concepts and skills in PHP.
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/ 1

WBP Experiments List for Practical Exam

1) Write a PHP program to calculate Highest number among three numbers.


2) Write a program to make the use of logical operators.
3) Write a program to check no is positive or negative.
4) Write a calendar program using switch statement.
5) Write any program using if condition with foreach loop.
6) Write a program to display pyramids of star/patterns using increment/
decrement.
* * *
** ** **
*** *** ***
**** **** ****
***** ***** *****
7) Write a program to print first 30 even numbers. (Using while, do…while)
8) Develop a program to using Associative array.
9) Develop a program to using Indexed array.
10) Write a program to demonstrate parameterized function.
11) Write a program to demonstrate anonymous function.
12) Write a program to demonstrate Variable function.
13) Write a program to implements inheritance.
14) Write a program to demonstrate parameterized constructor.
15) Write a program to demonstrate default constructor.
16) Develop a PHP code for serialization.
17) Develop a PHP code for introspection.
18) Write a PHP program that demonstrate form element (input elements).
19) Write a PHP program that demonstrates passing data using GET method.
20) Write a PHP program that demonstrates passing data using POST method.
21) Write a program to create a session, to set a value in session, and to remove
data from a session.
22) Write a PHP code to find greatest of two numbers. Accept numbers from users.
23) Create Customer form like Customer name, Address, mobile no, item
purchase, Amount using different form input element & display user inserted
values in new PHP form
24) Create Employee form like Employee name, Address, Mobile no, Date of
birth, Post & Salary using different form input element & display user inserted
values in same PHP form.
25) Write a program to make simple calculator web application that takes 2
numbers and an operator (+, -, *, /, %) from an HTML page and returns the
result page with the operation performed on the operands.
26) Write a program to create, modify and delete a cookie.
27) Develop a program to retrieve and present data from database.
28) Write a PHP code to insert data into employee table.
29) Write a PHP program to update table data from student database.

You might also like