Session V/S Cookies A cookie is an array of data stored by the browser on the client location and sent to the server with every request. It stores a limited amount of data about 4kb(i.e.: 4096 …

Last updated 6 years, 11 months ago | 2358 views

Tags:- PHP

CSS | Gradient Text There are three different CSS properties required to add a gradient overlay to a text. background-image: <gradient> background-clip: text text-fill-color: transparent background-image: <gradient> <gradient> will replace with any gradient style which …

Last updated 5 years, 3 months ago | 2340 views

Tags:- CSS

PHP | output of $a and $b once this code $a = '1'; $b = &$a; $b = "2$b" executed; Both $a and $b will output a string "21".   Because the statement $b = &$a; sets …

Last updated 6 years, 7 months ago | 2337 views

Tags:- PHP

Jquery | attr | Get HTML attribute's value You can get the value of an attribute for the first element in the set of matched elements using the .attr() function.   Return the value of …

Last updated 6 years, 5 months ago | 2336 views

Tags:- JQuery

Python | New and Override Modifiers The new modifier is used to instruct the compiler to use the new implementation and not the base class function. The Override modifier is useful for overriding a base class …

Last updated 3 years, 10 months ago | 2314 views

Tags:- Python

PHP | :: operator | scope resolution operator This operator is known as the scope resolution operator. And this operator is used to access the static members of the class. To access static members of a …

Last updated 7 years ago | 2263 views

Tags:- PHP

Accessing CodeIgniter Super Object from External PHP Script (Outside CodeIgniter) Sometimes, you may need to access CodeIgniter's core features — such as models, libraries, or configuration — from a standalone PHP script that’s not within …

Last updated 11 months, 2 weeks ago | 2236 views

Tags:- PHP CodeIgniter

Git | git checkout to Switch branch Git checkout is mostly used for switching from one branch to another. It is also used to check out files and commits. Switch to a branch This command …

Last updated 5 years, 2 months ago | 2222 views

Tags:- Git

SQL | Difference between primary key and unique constraints There is only one primary key in a table. It creates the clustered index automatically and it cannot have NULL value whereas there can be multiple …

Last updated 6 years, 11 months ago | 2208 views

Tags:- SQL MySQL

Git | git status to check the status of the current branch The git status command displays all the necessary information about the working directory and the staging area. git status It displays information like: …

Last updated 5 years, 2 months ago | 2206 views

Tags:- Git

Python | Check whether the given number is a prime number or not This is an example of how to check whether the given number is a prime number or not. It takes an input …

Last updated 4 years, 11 months ago | 2203 views

Tags:- Python

Python | Program to find factorial of a number This is an example of how to find the factorial of a number in python. The factorial of a number is a product of all the positive …

Last updated 4 years, 11 months ago | 2192 views

Tags:- Python