loop2 Please Wait...
DeveloperGang

How to include a file to a php page?

We can include a file using " include(); " or " require(); " function with file path as its parameter. Suppose we have a file named: register.php. And we want to include it in any...

What is difference between require_once() and require()??

The main and basic difference between them is ..... When we use require_once() to include the file as the name tells once. it means the file that is included is be used only at...

What is the difference between GET and POST method?

Whenever we fill any form on the internet we can use one from two methods to send data on the server computer, that method can be either GET or POST. When we use the GET met...

What is MVC?

MVC stands for Model, View, and Controller. PHP MVC is an effective way to manage the code into 3 different layers. Model: Model represents the information in applicatio...

How we can retrieve the data in the result set of MySQL using PHP?

1. mysql_fetch_row This function will return a row where the values will come in the order as they are defined in the SQL query, and the keys will span from 0 to one less than the...

What is the use of in_array() function in PHP?

If you want to check particular value exists in an array or not,then you can use in_array() function. Example: Output: PHP exists For Technology Business write for us blogs subm...

How to redirect a page in php?

very easy way: header("Location:index.php"); // here index.php is the page where we want to redirect. you can change the name where to want to redirect.

How to get the date of post in a separate day, month and year variables wordpress.??

Sometimes our custom design requires Day, month and year in a seprate or wow looking format... For this we need the day for the post, month for the post, and Year for the post in a...

$message vs. $$message in PHP.

$message is a variable with a fixed name. $$message is a variable whose name is stored in $message. For example: $Message means simple variable store data. $$Message means...

Create a chess board using for loop php

In this Post we will create a chessboard pattern, an 8x8 grid of black and white squares like this: Use table width="270px" and take 30px as cell height and width. Check...
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, aspernatur.