VI Sem Lab Practical Questions 2024-2025
Part-A
1. Write a PHP script to print "hello world".
2. Write a PHP script to find odd or even number from given number.
3 Write a PHPs cript to find maximum of three numbers.
4. Write a PHP script to swap two numbers.
5. Write a PHP script to find the factorial of a number.
6. Write a PHP script to check whether given number is palindrome or not.
7. Write a PHP script to reverse a given number and calculate its sum
8. Write a PHP script to to generate a Fibonacci series using Recursive function.
9. Write a PHP script to implement atleast seven string functions.
10 Write a PHP program to insert new item in array on any position in PHP.
Part-B
1. Write a PHP program to insert new item in array on any position in PHP.
2. Write a PHP script to implement constructor and destructor
3. Write a PHP script to implement form handling using get method
4. Write a PHP script to implement form handling using post method.
5. Write a PHP script that receive string as a form input
6. Write a PHP script to implement database creation