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

PHP Lab Practical Questions 2024-2025

The document outlines practical questions for a VI Semester Lab for the academic year 2024-2025, divided into two parts. Part-A includes tasks such as writing PHP scripts for basic operations like printing, finding odd/even numbers, and implementing string functions. Part-B focuses on more advanced PHP concepts including array manipulation, form handling, and database creation.

Uploaded by

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

PHP Lab Practical Questions 2024-2025

The document outlines practical questions for a VI Semester Lab for the academic year 2024-2025, divided into two parts. Part-A includes tasks such as writing PHP scripts for basic operations like printing, finding odd/even numbers, and implementing string functions. Part-B focuses on more advanced PHP concepts including array manipulation, form handling, and database creation.

Uploaded by

manjunath897663
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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

You might also like