Posts

Showing posts from April, 2026

Best Of Luck

Sorting Function

Image
 

Explain date time function in detail.

Image
 

10) Explain file handling in detail

Image
 

9) What is exception handling in PHP ? Explain in detail.

Image
 

8) explain the type of error in detail

Image
 

7> explain array related fucntion in PHP

Image
 

What is Array ? explain it's type

Image
 

Explain different data type in PHP

Image
 

explain different operation in PHP ........

Image
 

write about the constant in PHP

Image
 

write about Variables in PHP

Image
 

write feature merit and demerit of PHP

Image
 

Opening and Closing file

Image
 

PRACTICAL NO. 17

Image
                                                                              PRACTICAL NO. 17 AIM: To create a PHP page for login page with SQL connection. PROGRAM:   Develop web page with data validation. √ Write simple PHP program to a.       Set cookies and read it.   Code: <?php if (!isset($_COOKIE['visits'])) $_COOKIE['visits'] = 0; $visits = $_COOKIE['visits'] + 1; setcookie('visits',$visits,time()+3600*24*365); ?> <html> <head><style type="text/css"> div {font-size:20pt;color:navy;font-family:arial black; width:50%;background-color:white} p {font-size:18pt; color: lime; font-weight:bold; text-align:center; font-family:bauhus 93} .groove{border-style:groove} .dotted{border-style:dotted} </s...

Practical 8 ( Recursive Function. )

Image
  ­­Practical No.8 AIM: Write a PHP program to display factorial value using Recursive Function. PROGRAM:   <html> <body> <form action="factorial.php" method="POST"> <center><br> <table align="center" width="35%" border="5"> <tr align="center" bgcolor="blue"><td><font color="white"><br><h1>FACTORIAL</h1></td></tr> <tr bgcolor="pink"><td><br>&nbsp;&nbsp;&nbsp; <font color="black" size="5">ENTER THE DIGIT</font> <input type="text"name="n"size="20"> <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n...