Skip to content

Pattern program in PHP

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

Below, there are some patterns related to star, number and alphabets that are also asked in interview to test your logic. Some below: 

Continue ReadingPattern program in PHP

PHP program to sort the student records which are stored in the database using selection sort

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

Goto Mysql and then typecreate database weblab;use weblab; create table student(usnvarchar(10),name varchar(20),address varchar(20));*************************

Continue ReadingPHP program to sort the student records which are stored in the database using selection sort

PHP programs to find the transpose of a matrix

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

Output: the first matrix: 1 2 34 5 6 7 8 9 the second matrix:7 8 9 4 5 61 2 3 the transpose of the first matrix: 1 4…

Continue ReadingPHP programs to find the transpose of a matrix

PHP programs to implement simple calculator operations

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

SIMPLE CALCULATOR > First Number: Second Number:

Continue ReadingPHP programs to implement simple calculator operations

PHP program to display a digital clock

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

Continue ReadingPHP program to display a digital clock

PHP program to keep track of the number of visitors visiting the web page and to display this count of visitors, with proper headings.

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

REFRESH PAGE Total number of views: 10

Continue ReadingPHP program to keep track of the number of visitors visiting the web page and to display this count of visitors, with proper headings.

Swapping two numbers

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

There are two methods for swapping: By using third variable. Without using third variable. Swapping Using Third Variable Swapping Without using Third VariableSwap two numbers without using a third variable…

Continue ReadingSwapping two numbers

Print Reverse of any number

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

Reverse Number

Continue ReadingPrint Reverse of any number

Armstrong number in PHP

  • Post author:Educate
  • Post published:July 31, 2023
  • Post category:PHP
  • Post comments:0 Comments

Armstrong number is a number that is equal to the sum of cubes of its digits. For example 0, 1, 153, 370, 371 and 407 are the Armstrong numbers. Let’s try to…

Continue ReadingArmstrong number in PHP

Php program to find a factorial of given number

  • Post author:Educate
  • Post published:July 29, 2023
  • Post category:PHP
  • Post comments:0 Comments

The factorial of a number n is defined by the product of all the digits from 1 to n (including 1 and n). Here we write program, how to print…

Continue ReadingPhp program to find a factorial of given number
© Educate - All Rights Reserved