Program No.
Write a PHP script to check whether a given number is Armstrong or not.
Program No. 2
Write a PHP program to demonstrate date function.
Program No. 3
Write a PHP program to demonstrate array concept to store marks of three students in three
subjects.
Program No. 4
Write a PHP Program to generate a simple calculator.
Program No. 5
Write a PHP Program to demonstrate $_POST method and display pattern.
Program No. 6
Write a PHP Program to upload a file and display the image details.
Program No. 7
Write a PHP Program to check whether the given string is palindrome or not.
Program No. 8
Write a PHP Program to insert and display values from different input fields.
Program No. 9
Write a PHP script to create a database, create table and delete the database.
Program No. 10
Write a PHP script to insert employee name and age to the database and display the records in
table format.
Table name-details
Column Name Datatype
name Varchar(200)
age Varchar(100)
[Link]
[Link]
[Link]
Program No. 11
Write a PHP script to display user details in table format, use anchor tag to delete each record
in the table and create a delete button to delete the table (Insert the records manually in the
database).
Table name-details1
Column Name Datatype
id Varchar(100)
name Varchar(200)
age Varchar(100)
[Link]:
[Link]
[Link]
[Link]
[Link]
Program No. 12
Write a PHP script to display the employee details (slno, ename, dept, salary) from database and
use anchor tag to update each record in the table. (Insert the records manually in the database).
Table name-employee
Column Name Datatype
slno Varchar(100)
ename Varchar(200)
dept Varchar(100)
salary Varchar(100)
[Link]
[Link]
[Link]
[Link]
Program No. 13
Write a PHP script to login using session variable and destroy the session variable. (Insert the
records manually in the database).
Table name-login_table
Column Name Datatype
Id Varchar(100)
Username Varchar(200)
Password Varchar(100)
[Link]
[Link]
[Link]
[Link]
Program No. 14
Write a PHP script to display 3 records per page using the paging (Insert the records manually
in the database).
Table name-std_details
Column Name Datatype
Id Varchar(100)
Fname Varchar(200)
Lname Varchar(200)
Dept Varchar(100)
Class Varchar(100)
Percentage Varchar(100)
[Link]
Program No. 15
Write a PHP program to add photos and display only 5 images per row.
Table name-photos
Column Name Datatype
location Varchar(100)
imagename Varchar(100)
dateadded Varchar(100)
[Link]
[Link]
[Link]