Final Pages PHP Exam - 103003
Final Pages PHP Exam - 103003
ASSIGNMENT ON: -
SUBMITTED BY :-
I would like to express my sincere gratitude to all those who
have been instrumental in the successful completion of the project
work on Skill Enhancement 2 Lab Exam, focused on PHP and HTML
programming, at Marwari College, Ranchi.
Thank you.
Index for SOFTWARE LAB BASED ON PHP PROGRAMMING:
1. Comparing Three Integers:
- Create a PHP page using functions to compare three integers and print the
largest number.
2. Factorial Calculation:
- Write a function to calculate the factorial of a non-negative integer,
accepting the number as an argument.
5. Lowercase Check:
- Write a PHP function to check if a given string is all in lowercase.
6. Palindrome Check:
- Write a PHP script that checks whether a passed string is a palindrome or
not.
7. Array Sorting:
- Write a PHP script to sort an array.
8. Whitespace Removal:
- Write a PHP script that removes whitespaces from a given string.
- Sample string: 'The quick " " brown fox'
- Expected Output: 'Thequick""brownfox'
2. Welling, Luke, & Thomson, Laura. (2016). "PHP and MySQL Web
Development." Addison-Wesley.
- An excellent resource for understanding the integration of PHP with MySQL
for web development.
3. Sklar, David. (2017). "Learning PHP, MySQL & JavaScript." O'Reilly Media.
- This book provides practical examples and exercises for learning PHP,
MySQL, and JavaScript together.
4. Ullman, Larry. (2012). "PHP for the Web: Visual QuickStart Guide."
Peachpit Press.
- A quick-start guide with visual examples for PHP programming for web
applications.