0% found this document useful (0 votes)
15 views4 pages

Final Pages PHP Exam - 103003

Hello everyone this is a project on pho

Uploaded by

kaisher82717
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)
15 views4 pages

Final Pages PHP Exam - 103003

Hello everyone this is a project on pho

Uploaded by

kaisher82717
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/ 4

SESSION 2021-2024

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.

First and foremost, I extend my heartfelt thanks to Dr. Manoj Kumar,


our esteemed Principal, for his constant support and encouragement
throughout this endeavor. His guidance has been invaluable in
shaping this project.

I am deeply indebted to our subject teachers, Raju Sir, Kunal Sir,


Meera Ma'am, and Archana Ma'am, Anajana Ma'am and others for
their unwavering commitment to imparting knowledge and their
continuous guidance, which has enriched my understanding of PHP
and HTML programming.
I would also like to express my gratitude to my family for their
constant support, understanding, and encouragement. Their belief in
my abilities has been a driving force behind my academic pursuits.

In conclusion, I extend my thanks to everyone who played a role in


this project. Your contributions, whether big or small, have been
crucial to its success. I am grateful for the opportunity to learn and
grow in this academic environment, and I look forward to applying
the skills acquired in future endeavours.

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.

3. Prime Number Check:


- Write a PHP script to check whether a given number is prime or not.

4. Reverse String Display:


- Create a PHP page that accepts a string from the user and displays its
reverse after submission.

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'

9. Sum of First n Odd Numbers:


- Write a PHP script to find the sum of the first n odd numbers.

10. Login Page:


- Create a login page with a username and password. Display a welcome
message on submission if the user is registered; otherwise, show an error
message.
1. Lerdorf, Rasmus, Tatroe, Kevin, & MacIntyre, Peter. (2006). "Programming
PHP." O'Reilly Media.
- This book is a comprehensive guide to PHP programming, covering
fundamentals and advanced topics.

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.

5. Doyle, Matt. (2015). "PHP & MySQL: Novice to Ninja." SitePoint.


- This book takes a hands-on approach to PHP and MySQL, guiding users from
beginner to advanced levels.

You might also like