Category Archives: General Programming

PHP variables

Variable is an image or name that represents a worth. Factors are utilized for putting away qualities, for example, numeric qualities, characters, character strings, or memory addresses with the goal that they can be utilized in any piece of the program. How to declare variable in PHP (Naming convention of variable in PHP) Variables start… Read More »

PHP do while Loop

The do while loop in PHP is a statement that executes a block of code while a certain condition is true. This can be used to implement an infinite loop, or to repeat a block of code zero or more times. The syntax for the do while loop looks like this: It will first execute… Read More »

What is the difference between a session and cookies?

Difference between cookies and session is : Cookies stores the information on client browser and session stores the information on server. session and cookies are used to store the information.

empty() function PHP

empty() function determines whether given variable is empty and also used for checking variable is set or not. Variable is said to empty if it is not set or value is false. empty values can be : 0 “” or “0” 0.0 (0 float value) FALSE empty array() NULL Reference : http://php.net/manual/en/function.empty.php

Go Programming Language (Definition)

Go is an open source, procedural, compiled and statically typed programming language. It was designed and developed at Google by Rob pike, Ken Thompson and Robert Griesemer. It is syntactically similar to C, also provides some additional features memory safety, garbage collection, dynamic types. Some people called it golang also.