Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Misc
8.8K+ articles
PHP
3.9K+ articles
PHP-function
2.3K+ articles
PHP Programs
344+ articles
school-programming
240+ articles
PHP-array
190+ articles
PHP-string
162+ articles
PHP-basics
94 posts
Recent Articles
Popular Articles
How to use PHP in HTML ?
Last Updated: 22 March 2024
In this article, we will use PHP in HTML. There are various methods to integrate PHP and HTML, some of them are discussed below.You can add PHP tags to your HTML Page. You...
read more
Picked
PHP
PHP-basics
HTML-Questions
PHP-Questions
Constructor Property Promotion in PHP 8
Last Updated: 05 June 2023
Constructor Property Promotion is a simple shorthand syntax to declare and assign class properties from the constructor. It basically tells the way data has to be treated ...
read more
Web Technologies
PHP
Web technologies
PHP-basics
PHP-Questions
php
PHP 8 Union types
Last Updated: 27 July 2021
A “union type” accepts values of multiple different data types, rather than a single one. If the programming language supports union types, you can declare a variable in m...
read more
Web Technologies
PHP
PHP-basics
How to submit a form by clicking a link in JavaScript ?
Last Updated: 27 May 2024
Submitting a form by clicking a link in JavaScript involves binding a click event handler to the link element. When clicked, the handler triggers the form's submit action ...
read more
JavaScript
Web Technologies
Picked
HTML
PHP-basics
HTML-Questions
JavaScript-Questions
Difference between $var and $$var in PHP
Last Updated: 18 October 2021
In PHP, $var is used to store the value of the variable like Integer, String, boolean, character. $var is a variable and $$var stores the value of the variable inside it.$...
read more
Difference Between
Web Technologies
Picked
PHP
PHP-basics
PHP-Questions
Web Technologies - Difference Between
How to Install PHP on Linux?
Last Updated: 05 September 2024
PHP is a popular server-side scripting language that is especially used in web development. If you're working on a Linux environment, whether it's a personal development ...
read more
Picked
PHP
PHP-basics
how-to-install
How to install PHP in Windows 10?
Last Updated: 09 September 2024
PHP is a general-purpose scripting language geared towards web development. It is an open-source software (OSS), which is free to download and use. PHP stands for "Hyperte...
read more
Picked
PHP
PHP-basics
PHP-Questions
What are the different scopes of variables in PHP ?
Last Updated: 06 May 2022
Variable Scopes: The scope of a variable is defined as its extent in the program within which it can be accessed, i.e. the scope of a variable is the portion of the progra...
read more
Web Technologies
Picked
PHP
PHP-basics
PHP-Questions
PHP while Loop
Last Updated: 22 August 2022
The while loop is the simple loop that executes nested statements repeatedly while the expression value is true. The expression is checked every time at the beginning of t...
read more
Web Technologies
PHP
PHP-basics
PHP do-while Loop
Last Updated: 25 August 2022
The do-while loop is very similar to the while loop, the only difference is that the do-while loop checks the expression (condition) at the end of each iteration. In a do-...
read more
Web Technologies
PHP
PHP-basics
PHP for Loop
Last Updated: 25 August 2022
The for loop is the most complex loop in PHP that is used when the user knows how many times the block needs to be executed. The for loop contains the initialization expre...
read more
Web Technologies
PHP
PHP-basics
PHP continue Statement
Last Updated: 25 August 2022
The continue statement is used within a loop structure to skip the loop iteration and continue execution at the beginning of condition execution. It is mainly used to skip...
read more
Web Technologies
PHP
PHP-basics
PHP switch Statement
Last Updated: 15 February 2023
The switch statement is similar to the series of if-else statements. The switch statement performs in various cases i.e. it has various cases to which it matches the condi...
read more
Web Technologies
PHP
PHP-basics
PHP goto Statement
Last Updated: 22 August 2022
The goto statement is used to jump to another section of a program. It is sometimes referred to as an unconditional jump statement. The goto statement can be used to jump ...
read more
Web Technologies
PHP
PHP-basics
PHP Arrow Functions
Last Updated: 20 May 2025
PHP arrow functions are a shorthand syntax for anonymous functions. It was introduced in PHP 7.4, which provides a shorter way to write anonymous functions. They allow you...
read more
PHP
PHP-basics
1
2
3
4
5
6
7
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !