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 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 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 design a website from beginner to advanced using some free websites and Youtube Channels?

For every developer who wants to learn from basic to advanced you should follow some techniques and website. that will help you to grow your knowledge and your understanding. so…

Read more »

Searching, Column Sorting with Pagination using Ajax in Laravel 5.5

Step 1 : Instal Laravel Application  If you have not install Laravel application, then you have to open command prompt, and run composert command, and then after you can run…

Read more »

Laravel Error – Call to undefined method Illuminate\Database\Query\Builder::seokeyw()

I got this error today so I am going to tell you how to solve this error in your Laravel project. First of all, You should check that Model have…

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 »

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 »

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 »

How to declare Inheritance in PHP with example?

What is Inheritance?:- Inheritance means one class method or properties access to another class. The child class will inherit all public, private, protected methods or properties from the parent class….

Read more »

Difference between Public, Private & Protected Access Modifier in PHP with example

Public Access Modifier:- Public Method or variable can be accessed from anywhere in the class. It means from inside or outside the class and child class also means anywhere you…

Read more »

What are Comments, Constant Variable, String Interpolation, Arithmetic and Assignment Operators in PHP?

Comments in PHP Comments are those human-readable texts that we should add to make our code more understandable for other programmes. It is ignored by PHP and doesn’t affect your…

Read more »

Insert and Retrieve data from database in PHP using MySQLI

What is Mysqli:-The Mysqli extension, or as it is used before this name the MYSQL and update extension, was developed to take advantage of new features found in Mysqli systems…

Read more »

How to Define, Call & Create a function in PHP?

What is function in PHP? PHP provides us many built-in helper partners works that you can call anyplace inside your application OR browser. They make your work process advantageous for…

Read more »

How to define String in PHP?

A string is a group of characters, where a character is equivalent to a byte. This implies PHP just supports a 256-character set and subsequently doesn’t offer local Unicode support….

Read more »

How to Print Multidimensional Associative Array in PHP using loop with example?

Foreach Loop with Multidimensional Associative Array :- Multidimensional Associative Array is used to store using foreach loop arrays value where pairs arrays value can be an integer or string. It…

Read more »

How to Print Multidimensional Numeric Array in PHP using loop?

For Loop with Multidimensional Numeric Array:- Multidimensional Array means one or more arrays have multple array values access. It can store numbers, string multiple array uses of Nested For Loop…

Read more »

Echo Statement, Print Statement, and Here document in PHP.

Echo Statement This statement is used to output the data to the screen or printing text on the screen. For Example:- echo “Sushant Kumar”;echo ‘Sushant Kumar’;echo 59.236;echo (“Sushant Kumar”);echo “Sushant”…

Read more »

What is a client, Server, Internal Data Types, and Variables in PHP?

Php Introduction PHP is an open Source Server-side programming/ Scripting language that suited for web development and can be embedded into HTML. PHP stands for Hypertext Preprocessor But it’s original…

Read more »

What is Multidimensional array in PHP with Example?

Multidimensional Array is Arrays of Array means one arrays have multiple array. You can define as it have 2Dimensional ([][]), 3Dimensional ([][][]), 4Dimensional ([][][]), and etc. ex:- How to work:-…

Read more »

How can use Array Operators in PHP with Example?

Php union:- ($a+$b) = Work as union means if same value then replace left variable to right variable(for keys that exit both array) ex:- Php Equality:- Key value same but…

Read more »

What is difference between echo, print, and print_r in PHP with example?

Echo Statement:- The echo statement is used to output in display with or without parenthesis echo or echo() but no return value. Echo Statement faster than print Statement. ex:- Print…

Read more »

How many types of loops are there in PHP?

While Loop:-While loop keeps repeating an action until a condition returns false. Nested While loop:-Nested while loops work as while loop but in this case, you use one or more…

Read more »

What is the use of PHP explain with syntax?

What is PHP? PHP: Hypertext Preprocessor(Recursive Acronym) Server Side Programming/Scripting Language Can be embedded directly within HTML (<?php ?>) Files use a “.php” file extension. If… statement:- if… and nested…

Read more »

How to declare conditional statements in PHP with example?

When You write a code different actions for different conditions. Then, You can use Conditional statements in your code to do this. If Statement:- If Statement executes some code when…

Read more »

PHP 7 Essential Guide – PHP Operators for beginners

PHP operators are used to performing operations on variables and values. Maths Operators Assignment operators Logical Operators Increment and Decrement Operators String Operators Maths Operators:- arithmetic operators are used with…

Read more »

Laravel – Remove Public from URL using htaccess

Step 1: Rename File In first step it is very easy and you need to just rename file name. you have to rename server.php to index.php at your laravel root…

Read more »