PHP | header() function By sending the headers bellow, we change the browser’s default cache settings. We can override any of those settings and force the browser to not cache. In this code we just …

Last updated 7 years, 10 months ago | 2642 views

Tags:- PHP

There are 5 different types of storage engine present in MySql. MyISAM Heap Merge INNO DB ISAM MyISAM is the default storage engine for MySQL

Last updated 7 years, 10 months ago | 2642 views

Tags:- MySQL PHP-MySQL

PHP | What are the scopes of variables in PHP? Scopes define the visibility of a variable. In PHP, variables can be declared anywhere in the script. The scope of a variable is the part …

Last updated 7 years, 3 months ago | 2637 views

Tags:- PHP

Chart.js | Add bar chart in the webpage This is a simple example of using Chart.js to create a bar chart on the webpage.  Step 1: Create a basic HTML file called "chart.html"  <!DOCTYPE html> …

Last updated 6 years, 7 months ago | 2637 views

Tags:- HTML JQuery JavaScript Chart

PHP | Remove duplicate value from an array  Duplicate value can remove from an array by using the array_unique function. If two or more array values are the same, the first appearance will be kept …

Last updated 7 years, 3 months ago | 2635 views

Tags:- PHP

MySQL | Find the number of rows in a table We can use the below query to count the number of rows in a table >SELECT COUNT(*) FROM table_name;  

Last updated 7 years, 10 months ago | 2634 views

Tags:- MySQL

PHP | unset() function The function unset() is an inbuilt function in in php which is use to delete variable. unset($var) or void unset ( mixed $var [, mixed $... ] ) Note: we can …

Last updated 7 years, 10 months ago | 2632 views

Tags:- PHP

PHP | What are superglobal/global variables? Superglobal is out of scope limitation. These variables can be accessed from any function, class, or file without doing anything special such as declaring any global variable, etc. These …

Last updated 7 years, 3 months ago | 2624 views

Tags:- PHP

PHP | Increase default session  timeout The "session.gc_maxlifetime" is use to modify the default timout of session. server should keep session data for AT LEAST 1 hour by using the below code. It increase session …

Last updated 7 years, 3 months ago | 2621 views

Tags:- PHP

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 7 years, 1 month ago | 2611 views

Tags:- CSS

Python | Print  Triangle pyramid pattern This is an example of how to print the Triangle pyramid pattern. It takes an input number from the user to print the number of rows for the pattern.  n …

Last updated 5 years, 3 months ago | 2608 views

Tags:- Python

Git add | add files to git This command adds the working directory changes to the staging area. It allows to include the updates to a particular file in the next commit. Git add doesn't affect …

Last updated 5 years, 5 months ago | 2602 views

Tags:- Git

Jquery | Location reload() Method | Refresh a page The Location.reload() method reloads the current URL.   Syntax location.reload(forceGet) The Location.reload() method reloads the current URL. By default, the value of forceGet is false which …

Last updated 6 years, 9 months ago | 2601 views

Tags:- JQuery JavaScript

SQL | Compare timestamp with date only Timestamp holds Date and Time both with 19 characters. To filter table record with the only date parameter can be achieved by SQL DATE() function. Consider the Employee table …

Last updated 6 years, 2 months ago | 2601 views

Tags:- SQL MySQL

PHP | Inheritance PHP mainly supports two types of inheritance: Single inheritance Multilevel inheritance

Last updated 7 years, 10 months ago | 2600 views

Tags:- PHP