Latest Articles

What is JavaScript Hoisting

JavaScript provides the feature of using a variable before the declaration. In other words, we can use javascript variables without a declaration. JavaScript Hoisting JavaScript hoisting is the behavior of JavaScript, which moves all the declarations of javaScript variables to the top of the scope. In other words, JavaScript hoisting moves all the variable declarations […]

List of PHP Operators

Operators indicate compiler which operation to perform. Operators help to perform various calculations on the given data. Operators In PHP PHP provides different types of operators, similar to other programming languages. They are divided into the following categories. Arithmetic operators Logical operators Comparison operators Increment / Decrement operators Conditional operators Assignment operators Array operators String […]

List Of JavaScript Operators

JavaScript provides different type of operations same as other programming languages. There are some additional operators which make javascript more suitable for programming. Javascript supports the following types of operators: 1) Arithmetic Operators They are used to perform different arithmetic operations between two or more variables. Operator Description Example: (here m = 8, n = […]

What Is the PHP $_FILES, and How to Use $_FILES

Sometimes we want to upload a file in our HTML form. PHP provides the feature for handling a file at server side with $_FILES array. We can also check different properties of an files like file-name, file-type, file-size, and some other attributes. Read Also: How to Upload File in PHP What is $_FILES? PHP provides […]

Remove Element JavaScript

With JavaScript, We can easily remove different HTML elements. Also Read: Create Element JavaScript Example 1 Suppose we want to remove <li> element inside <ul> elements using javascript. Here, we remove <li> elements using javascript as follows: Explanation: We select <div> tag using id container. We select <ul> tag using getElementsByTagName() function. We select <li> […]