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
DSA
22.8K+ articles
JavaScript
12.2K+ articles
HTML
5.8K+ articles
CSS
4.9K+ articles
JQuery
4.9K+ articles
PHP
3.9K+ articles
ReactJS
3.5K+ articles
Node.js
3.5K+ articles
jQuery-jQWidgets
2.5K+ articles
PHP-function
2.3K+ articles
Web Technologies
/
PHP
PHP
3.9K+ posts
Recent Articles
Popular Articles
Implementing AJAX Live Search with PHP and MySQL
Last Updated: 21 August 2024
AJAX (Asynchronous JavaScript and XML) is a technique used to create dynamic web applications. It allows web pages to be updated asynchronously by exchanging data with a w...
read more
Picked
PHP
PHP-MySQL
PHP Program to Check Whether a Character is a Vowel or Consonant
Last Updated: 13 August 2024
There are a total of 26 letters in the English alphabet. There are 5 vowel letters and 21 consonant letters. The 5 vowel letters are: "a", "e", "i", "o", and "u" rest are ...
read more
Picked
PHP
String to Integer in Different Programming Languages
Last Updated: 24 August 2024
Below are example programs to do string to integer conversion in different programming languages.C++#include bits/stdc++.husing namespace std;int main(){ int val; ch...
read more
Strings
Python
C Programs
C++ Programs
Java Programs
C++
Python Programs
PHP Programs
DSA
JavaScript Programs
CRUD Operation in REST API using PHP
Last Updated: 10 September 2024
A REST (Representational State Transfer) API allows communication between a client and a server through HTTP requests. PHP, a widely used server-side scripting language, i...
read more
Picked
PHP
Web-API
How to Slice an Array in PHP?
Last Updated: 04 September 2024
In PHP, slicing an array means taking a subset of the array and extracting it according to designated indices. When you need to extract a subset of elements from an array ...
read more
Picked
PHP
How to Use Vite with Laravel?
Last Updated: 18 September 2024
Vite is rapidly gaining popularity as a new and more efficient solution for managing frontend assets, and Laravel, one of the most popular PHP frameworks, has been using i...
read more
Picked
PHP
vite
How to Append Data to a File in PHP?
Last Updated: 20 September 2024
Appending data to a file is a common operation in PHP when you want to add new information without overwriting the existing content. This can be particularly useful for lo...
read more
Picked
PHP
PHP Versions
Last Updated: 23 April 2025
PHP has been a key technology in web development from the beginning, helping create interactive websites and web applications. Over the years, PHP has evolved, introducing...
read more
PHP
Variables and Datatypes in PHP
Last Updated: 10 April 2025
A variable in PHP is a container used to store data. The value of a variable can change during program execution. PHP variables start with a dollar sign ($), followed by t...
read more
PHP
Constants and Magic Constants
Last Updated: 29 March 2025
In PHP, constants and magic constants are special identifiers that hold fixed values throughout script execution. They improve code clarity, reduce repetition, and help in...
read more
PHP
PHP Type Juggling
Last Updated: 10 April 2025
Type juggling in PHP refers to PHP's automatic conversion of values between data types during operations, such as arithmetic or comparison. This is also known as implicit ...
read more
PHP
Php Classes and Objects
Last Updated: 17 April 2025
In PHP, Object-Oriented Programming (OOP) makes it easier to organize and reuse code. The two fundamental building blocks in OOP are classes and objects.PHP ClassesA class...
read more
PHP
PHP Cheatsheet
Last Updated: 24 May 2025
PHP stands for the Hypertext Preprocessor. It is a popular, open-source server-side scripting language designed for web development but also used as a general-purpose prog...
read more
PHP
PHP Indexed Arrays
Last Updated: 27 May 2025
In PHP, an indexed array is a type of array where each element is assigned an index number. By default, the index of the first element starts at 0, the second element gets...
read more
PHP
PHP $GLOBALS
Last Updated: 31 May 2025
$GLOBALS is a built-in PHP superglobal associative array that stores all global variables in a PHP script. It provides a way to access global variables from any scope, inc...
read more
Web Technologies
PHP
1
2
3
4
...
264
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 !