Manipulation of dates and times in PHP with examples.

Here we are going to discuss about the PHP Date and times. how can we call current date and time in our code. There are nearly fifty date and time…

Read more »

How to Register Navigation Menus of our Custom Theme in WordPress? Part-7

How to Register Navigation Menus of our Custom Theme in WordPress? What are the Navigation Menus? Navigation-Menus are customizable menus in your theme. They allow users to add Pages, Posts,…

Read more »

How to Define a Variable in PHP

what is variable in PHP Variables are used to keep data in one place. Such as string of text numbers, etc. The value of a variable can change on the…

Read more »

How to Create a Custom Page of Custom Theme in WordPress? Part-6

How to Create a Custom Page of Custom Theme in WordPress? Why to use Custom Page? Customized page templates allow you to individualize any part of your WordPress site without affecting the…

Read more »

PHP 7 Fundamental Tutorial for Beginners – PHP Syntax

Standard PHP Syntax One of the first scripts is run on the server, and the simple result results are sent back to the browser. Basic PHP Syntax one PHP script…

Read more »

How to Create a Page in WordPress? Part-5

How to Create a Page in WordPress? What is a page in WordPress? WordPress allows us to create pages by default and its theme controls the appearance of our pages…

Read more »

How to setup PHP in localhost for server-side scripting?

In this blog I am going to start with the beginning, So even if you are not aware to run PHP on your local machine you to it just following…

Read more »
How to autoload php class

Autoloading Classes in PHP

1. What are Autoloading Classes? Many developers writing object-oriented applications create one PHP source file per class definition. One of the biggest annoyances is having to write a long list…

Read more »

How to Work Stated on PHP

Install XAMPP on your PC to quickly create web applications with PHP database. If you want to create a dynamic web page using the first step, then first you write…

Read more »

How to create a WordPress custom theme? Part-4

How to create a WordPress custom theme? It’s looking improper yet, therefore we have to set the path of CSS and JavaScript to make it on proper website. So, go…

Read more »

How to create a WordPress custom theme? Part-3

How to create a WordPress custom theme? In this blog, you’ll see how to call these files to each other. WordPress divided the all files to understand clearly. The basic…

Read more »

PHP 7 Fundamental Tutorial for Beginners – Introduction

What You Should Already Know HTML CSS JavaScript What is PHP? PHP is Open Source server-side programming/Scripting language that is especially suited for web development and can be embedded into…

Read more »

What is OOPs? in PHP.

Object-Oriented programming is faster and easier to execute. It makes the code easier to maintain.  This is possible to create full reusable applications with less code What is Classes:- the…

Read more »

How to create a WordPress custom theme? Part-2

How to create a WordPress custom theme? What is the WordPress theme? The WordPress Themes are files that work together to create the design and functionality of a WordPress site. Themes…

Read more »

How Many Types of Error in PHP?

PHP has four types of error which are defined as below with definitions:- Notice:- Notice error means when a variable that not yet been defined then shows Notice error in…

Read more »

How to Install PHP on Windows 10 ?

In this blog I am going to show you how to Install PHP 7 in Windows 10:so, First thing you need to go show be in belowhttps://windows.php.net/download Click on the…

Read more »

How to check the given number is either Palindrome number or not in PHP embedded in HTML? -5

How to check the given number is either Palindrome number or not in PHP? What is the Palindrome number? A palindrome is a word , number, phrase, verse or sentence…

Read more »

How to print the number in reverse order in PHP embedded in HTML? -4

How to print the number in reverse order in PHP? In this program, you’ll learn to reverse a number using a while loop. Logic: First of all, the remainder of $num divided…

Read more »

How to count string length in PHP embedded in Html? -3

How to count string length in php? What is the definition of strlen() Function? The strlen() Function is pre-defined function in php which returns the length of a given string….

Read more »

How to print Fibonacci series in PHP embedded in HTML ? -1

How to print Fibonacci series in PHP? What is Fibonacci series? A series of numbers in which each number is the sum of the two preceding numbers. The simplest is…

Read more »

How to fix an error of PhpMyAdmin access denied in xamp mySql.

Error resolving of PhpMyAdmin access denied. For most first time install, accessing http://localhost/PhpMyAdmin will directly take us to the PhpMyAdmin web interface without asking for password or anything because by…

Read more »

How to generate class diagrams, UML diagrams and architect diagrams for php programs/projects?

There are many options avaialble which may help you for generating class diagrams, UML diagrams and architect diagrams for php programs/projects? GraphMLThis class can be used to generate UML diagrams…

Read more »

Numeric Array, Array Function, and Double Array Operator in PHP.

Numeric Array Sample Program Output:- Rahul Array Function Array() function is used to create an array. Syntax $array_name = array(“value1″,”value2″,”value3”,……..); For Example $name = array(“Sushant”,”Rahul”,”Sameer”,”sujeet”); Note:- By Default, array starts…

Read more »

Array and Its Type in PHP.

An array is a collection of data items stored under a single name. Array provides a mechanism for declaring and accessing several data items with only one identifier, thereby simplifying…

Read more »

For Loop and Nested For Loop in PHP.

For Loop The for loop is frequently used, when a loop is to run for a fixed number of time. Syntax for (initialization; test-condition; increment/decrement) { block of statements; }…

Read more »

While, Nested While, Do While, and Nested Do While Loop in PHP.

While Loop The While loop keeps repeating an action until an association condition returns False. It means that when a while loop started, it checks the condition, if it’s true…

Read more »

Else-If Statement, Ternary or Conditional Operator and Switch Statement in PHP

Else-If Statement Syntax Sample Program Output In the above program, if the First condition is false then it will check the third condition, if it’s true then print it else…

Read more »

Logical, Increment, decrement, and String Operators in PHP.

Logical Operators 1. Logical AND(&&/and). There are two Logical AND Operators, First && and 2nd and where First Operator has higher precedence(means higher priority) than 2nd. It Compares two expressions…

Read more »

Difference between Single Equal, Double Equal, Triple Equal, Not Equal, and Not Identical in PHP?

Single Equal It is Known as Assignment Operator means it assigns a constant value in a variable. For Example : A Constant Value (10) is assigned to the variable $num1,…

Read more »

What are If, Nested if, if else and, Nested if else Statement in PHP?

If Statement and Nested if Statement If statement is used to execute when a statement or a block of statement only if the condition is fulfilled or true. Syntax For One…

Read more »