CSS | Fluid typography Changing size of text, image, div or any html element automatically without using any jquery or media queries. It is a fluid type technique that doesn't require any JavaScript. Using viewport …

Last updated 3 years, 2 months ago | 813 views

Tags:- CSS

SQL | IN operator with PHP Array In this article we will use PHP Array with SQL IN operator. SQL IN operator allows us to specify multiple values in where clause. So in this article …

Last updated 3 years, 2 months ago | 1402 views

Tags:- PHP PHP-MySQL

SHUTDOWN | A CLI command for Windows It's really cool to shutdown your computer through Run command or command prompt. Actually shutdown is a CLI (command line interface) command or function which is use to …

Last updated 3 years, 2 months ago | 571 views

Tags:- CMD

SQL | Foreign Key A foreign key is a key used to link two tables.    A Primary key of a table is used as a foreign key for the other table. The primary key …

Last updated 3 years, 2 months ago | 776 views

Tags:- SQL MySQL

SQL | View View in SQL is a kind of virtual table. It does not physical exists in our database but have rows and column as there we have in a real database table. we …

Last updated 3 years, 2 months ago | 940 views

Tags:- SQL MySQL

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 3 years, 2 months ago | 598 views

Tags:- SQL MySQL

SQL | LIKE operator The LIKE operator of SQL is used for such kind of operations. It is used to fetch filtered data by searching for a particular pattern in where clause.   The Syntax for …

Last updated 3 years, 2 months ago | 1820 views

Tags:- SQL MySQL

SQL | difference between BETWEEN and IN operator The BETWEEN operator selects all records between the given range whereas IN operator selects all matching records given with the WHERE clause.   BETWEEN operator The Between operator in …

Last updated 3 years, 2 months ago | 3451 views

Tags:- SQL MySQL

PHP | file_exists( ) Function The file's existence can be confirmed using the file_exist() function which takes the file name as an argument. file_exist("abc.jpg")   The file_exists() function is an inbuilt function in PHP that …

Last updated 3 years, 3 months ago | 1572 views

Tags:- PHP

PHP | check whether a number is even or odd A trick to check whether a number is even or odd without using any condition or loop.   <?php $arr=array("0"=>"Even","1"=>"Odd"); $check=13; echo "Your number is: ".$arr[$check%2]; …

Last updated 3 years, 3 months ago | 1350 views

Tags:- PHP

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 3 years, 3 months ago | 825 views

Tags:- PHP

PHP | Nested ternary conditional operator An example code showing the nested ternary conditional operator in PHP. <?php $background_color = ($num == 0 ? 'blue' : ($num > 0 ? 'green' : 'red')); ?> Here …

Last updated 3 years, 3 months ago | 1858 views

Tags:- PHP

PHP | Convert Object To  Array Converting an object to an array is a small thing that can be achieved by a single line of code. For this purpose, we need to use typecasting. Typecasting …

Last updated 3 years, 3 months ago | 1333 views

Tags:- PHP

PHP | Converting array of objects to array Array of objects look like this: Array ( [0] => stdClass Object ( [id] => 1 [name] => Ram [roll] => 12 ) [1] => stdClass Object ( …

Last updated 3 years, 3 months ago | 975 views

Tags:- PHP

PHP | Sort an array of arrays by date in PHP Here a situation in which we have to sort an array of the array by date. An array of arrays is a multidimensional array in …

Last updated 3 years, 3 months ago | 1136 views

Tags:- PHP