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

5thsem BCA PHP LAB Programs

The document contains instructions for a PHP lab assignment, listing 10 programs to write using PHP. The programs include finding the largest of three numbers, checking for prime numbers, reversing a number, printing the Fibonacci series, using string functions, implementing a calculator with switch case, finding factorials with for each loops, sorting an array, creating and managing a database with SQL, and validating email addresses.

Uploaded by

irfanahmed.dba
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)
522 views1 page

5thsem BCA PHP LAB Programs

The document contains instructions for a PHP lab assignment, listing 10 programs to write using PHP. The programs include finding the largest of three numbers, checking for prime numbers, reversing a number, printing the Fibonacci series, using string functions, implementing a calculator with switch case, finding factorials with for each loops, sorting an array, creating and managing a database with SQL, and validating email addresses.

Uploaded by

irfanahmed.dba
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
You are on page 1/ 1

5thSem BCA

Paper: BCACsP5.10: PHP LAB


1. Write a PHP program to find the largest of three numbers using if_else ladder.
2. Write a PHP program to check whether the given number is prime or not using for loop.
3. Write a PHP program to reverse a given number using while loop.
4. Write a PHP program to print the Fibonacci series using functions.
5. Write a PHP program to illustrate different string functions.
6. Write a PHP program to implement calculator using switch case.
7. Write a PHP program to find factorial of a number using for each loop.
8. Write a PHP program to sort the given array.
9. Write a PHP program to create and manage a database using SQL commands.
10. Write a PHP program to create and validate a email id.

5thSem BCA
Paper: BCACsP5.10: PHP LAB
1. Write a PHP program to find the largest of three numbers using if_else ladder.
2. Write a PHP program to check whether the given number is prime or not using for loop.
3. Write a PHP program to reverse a given number using while loop.
4. Write a PHP program to print the Fibonacci series using functions.
5. Write a PHP program to illustrate different string functions.
6. Write a PHP program to implement calculator using switch case.
7. Write a PHP program to find factorial of a number using for each loop.
8. Write a PHP program to sort the given array.
9. Write a PHP program to create and manage a database using SQL commands.
10. Write a PHP program to create and validate a email id.

5thSem BCA
Paper: BCACsP5.10: PHP LAB
1. Write a PHP program to find the largest of three numbers using if_else ladder.
2. Write a PHP program to check whether the given number is prime or not using for loop.
3. Write a PHP program to reverse a given number using while loop.
4. Write a PHP program to print the Fibonacci series using functions.
5. Write a PHP program to illustrate different string functions.
6. Write a PHP program to implement calculator using switch case.
7. Write a PHP program to find factorial of a number using for each loop.
8. Write a PHP program to sort the given array.
9. Write a PHP program to create and manage a database using SQL commands.
10. Write a PHP program to create and validate a email id.

5thSem BCA
Paper: BCACsP5.10: PHP LAB
1. Write a PHP program to find the largest of three numbers using if_else ladder.
2. Write a PHP program to check whether the given number is prime or not using for loop.
3. Write a PHP program to reverse a given number using while loop.
4. Write a PHP program to print the Fibonacci series using functions.
5. Write a PHP program to illustrate different string functions.
6. Write a PHP program to implement calculator using switch case.
7. Write a PHP program to find factorial of a number using for each loop.
8. Write a PHP program to sort the given array.
9. Write a PHP program to create and manage a database using SQL commands.
10. Write a PHP program to create and validate a email id.

You might also like