PHP Variables Scope

Variable in PHP can be declared anywhere in the script. So the scope of the variable is defined by where it can be accessed in the script.In other words, it is the context where a variable is defined and accessed. PHP has three different kinds of scopes: Local Scope Global Scope Static Scope Local Scope […]

See More

PHP Variable Types

PHP had different data types according to the values assigned to it. Like simple string, numeric types, arrays, and objects. PHP supports the following data types: Integer String Float Boolean Array Object NULL Resource Integers Integers are whole numbers without a decimal point. <?php $x = 200; // decimal number var_dump($x); echo "<br>"; $y = […]

See More

JavaScript Operators

Javascript operators are symbols or keywords which perform certain actions when added to a particular expression. For example, the add (+) symbol is an arithmetic operator that is used to add two variables, while the greater-than (>) or less-than (<) symbols are the comparison operators that tells the JavaScript engine to compare two values. Assignment […]

See More

PHP Variables

Variables are names given to the location in memory, and these locations are used to store information. Creating PHP Variables The PHP variable always starts with a $ sign, followed by the variable name. Example:- <?php $name = "jack"; $age = 21; $height = 6.1; ?> After execution of this code, the variable $name holds […]

See More

Comments in PHP

PHP Comments are line embedded in the code, which is not executed by the server. Commenting on your code is a good habit if you are dealing with some big projects. Commenting helps others to understand your code easily, and it’s also helpful if you are checking your code after a long time. Think of […]

See More

jQuery Introduction

jQuery is a feature-rich, fast, and lightweight Javascript library. jQuery saves your time by simplifying JavaScript code. The use of jQuery simplifies the task of event handling, traversing, animating, and Ajax interactions for quick web development. List of important features supported by jQuery:- Event Handling – With jQuery you can capture a variety of events […]

See More

Python Introduction

Python is an object-oriented programming language first released in 1991. Uses of Python: Software development Web development Mathematics System scripting Why to Learn Python? Python is a very high-level interactive programming language. Today Python is used in the software and web development fields for creating complex problem-solving solutions. Python can work on different platforms (Windows, […]

See More