loop2 Please Wait...
DeveloperGang

How to set cookies in PHP?

Setting new cookie ============================= Getting Cookie ============================= Updating Cookie ============================= Deleting Cookie =...

How to declare an array in php?

Just Follow the Below example::: Eg : var $arr = array('apple', 'grape', 'lemon');

What is the difference between Session and Cookie?

The main difference between sessions and cookies is that sessions are stored on the server, and cookies are stored on the user’s computers in the text file format. Cookies ca...

require_once(), require(), include().What is difference between them?

require() includes and evaluates a specific file, while require_once() does that only if it has not been included before (on the same page). So, require_once() is recommended to us...

What are some of the big changes PHP has gone through in the past few years?

There are a number, but the big ones people are looking for are: a. PHP 5.0 realised the object model (AKA OOP). b. 5.1 added PDO - for accessing databases. c. 5.3 - added name...

Explain how a PHP session works?

A PHP session cookie is set in the clients browser, on every request the client sends that cookie to the server. PHP then uses that cookie to select the corresponding session infor...

In PHP what is the difference between a Class and an Interface?

Interfaces do not contain business logic, only method signatures that define a template that any classes implementing the interface must contain. Lets take an auto mobile for examp...

what types of loops exist in php?

In PHP, we have the following looping statements: while - loops through a block of code as long as the specified condition is true do...while - loops through a block of code on...
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, aspernatur.