MySQL | Repair Table REPAIR command is used for repair a MySQL table REPAIR TABLE users We can also specify Quick and Extended after the table name REPAIR TABLE users QUICK If we specify Quick then MySQL will …

Last updated 5 years, 7 months ago | 1357 views

Tags:- MySQL

PHP | Statement $x = 3 + "15%" + "$25"? The correct answer is 18. Here’s why: PHP is a  loosely typed language, therefore it does automatic type conversion based on the context in which …

Last updated 4 years, 7 months ago | 1353 views

Tags:- PHP

Codeigniter | routes  Routing rules are defined in your application/config/routes.php file.    In it, you'll see an array called $route that permits you to specify your own routing criteria. Routes can either be specified using …

Last updated 4 years, 10 months ago | 1349 views

Tags:- CodeIgniter

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 4 years, 6 months ago | 1348 views

Tags:- JQuery JavaScript

PHP | Redirect PHP header() function is used to redirect a page to another page. It supplies raw HTTP headers to the browser and redirects it to another location. The redirection script should be at …

Last updated 5 years ago | 1343 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 5 years, 7 months ago | 1342 views

Tags:- MySQL

PHP | The maximum size of a file that can be uploaded using PHP The default maximum size of a file that can be uploaded using PHP is 2MB. upload_max_filesize = 2M; and we can …

Last updated 5 years, 7 months ago | 1342 views

Tags:- PHP

List  List is a language construct and is similar to an array. It is used to assign a list of variables in one operation. If you are using PHP 5, then the list values start …

Last updated 5 years ago | 1341 views

Tags:- PHP

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 4 years, 11 months ago | 1338 views

Tags:- SQL MySQL

PHP | magic function In PHP all functions start with __ names are magical functions. Magical functions always live in a PHP class. The definition of the magical function is defined by the programmer itself. …

Last updated 5 years ago | 1336 views

Tags:- PHP

PHP | Access specifiers An access specifier is a code element that is used to determine which part of the program is allowed to access a particular variable or other information.   There are three …

Last updated 5 years ago | 1331 views

Tags:- PHP

PHP | How to avoid errors in PHP? We can use PHP inbuilt function error_reporting(0) to avoid all errors in PHP file. <?php error_reporting(0); ?>  

Last updated 5 years, 1 month ago | 1326 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 5 years, 7 months ago | 1322 views

Tags:- MySQL PHP-MySQL

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 4 years, 4 months ago | 1322 views

Tags:- HTML JQuery JavaScript Chart

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 5 years, 7 months ago | 1321 views

Tags:- PHP