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, 6 months ago | 2711 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, 6 months ago | 2709 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, 4 months ago | 2698 views

Tags:- CSS

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

Last updated 8 years, 1 month ago | 2686 views

Tags:- PHP

What is difference between require() and include() ? The require() function is identical to include(), except that it handles errors differently. If an error occurs, the include() function generates a warning, but the script will …

Last updated 7 years, 6 months ago | 2684 views

Tags:- PHP

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, 8 months ago | 2683 views

Tags:- Git

PHP | max_execution_time directive in php.ini file By changing the value of  max_execution_time in the php.ini file max_execution_time = 30; // in second   By default, the maximum execution time for PHP scripts is set to …

Last updated 8 years, 1 month ago | 2676 views

Tags:- PHP

Python | Ternary Operator python uses an if-else conditional statement in a single line to represent the Ternary Operator. [true] if [expression] else [false]   Let's see an example of Ternary Operator a, b = …

Last updated 5 years, 10 months ago | 2674 views

Tags:- Python

PHP | Upload File By using move_uploaded_file() function we can upload file in PHP.The move_uploaded_file() function moves an uploaded file to a new location. This function returns TRUE on success or FALSE on failure. move_uploaded_file(file,newloc) …

Last updated 7 years, 6 months ago | 2671 views

Tags:- PHP

PHP | How to convert an array to a string? array to string By using implode function we can convert any array to string.  In implode function first parameter is separator which specifies what to …

Last updated 7 years, 6 months ago | 2649 views

Tags:- PHP

MySQL |  Increase the speed of a MySQL select query For increasing the speed of a query we have to do a couple of things First of all instead of using select * from table1, use …

Last updated 8 years, 1 month ago | 2644 views

Tags:- MySQL

Python | Check whether the given value is palindrome or not This is an example of how to check whether the given value is palindrome or not. It takes input from the user to check …

Last updated 5 years, 6 months ago | 2642 views

Tags:- Python

Introduction: Why API Documentation Matters In modern web development, clear and interactive API documentation isn't optional—it's essential. Whether you're working with frontend teams, mobile devs, or third-party integrators, your API must be understandable and testable. …

Last updated 1 year, 4 months ago | 2642 views

Tags:- Python Django DRF

Codeigniter | Types of error logging There are three message types in Codeigniter: Error Messages These are actual errors, such as PHP errors or user errors. Debug Messages These are messages that assist in debugging. …

Last updated 7 years, 3 months ago | 2634 views

Tags:- CodeIgniter

PHP |What is the difference between echo and print? PHP echo and print both are used to display the output in PHP. Both can be used with or without parenthesis. The differences are small echo …

Last updated 7 years, 6 months ago | 2630 views

Tags:- PHP