Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
Web Technologies
40.2k+ articles
DSA
22.3k+ articles
Arrays
6.4k+ articles
PHP
3.8k+ articles
PHP-function
2.2k+ articles
Matrix
1.2k+ articles
PHP-Questions
410+ articles
PHP-array
180+ articles
PHP-string
150+ articles
PHP-Misc
100+ articles
Web Technologies
>
PHP
>
PHP Programs
PHP Programs
610+ posts
Popular Articles
Recent Articles
How to encrypt and decrypt passwords using PHP ?
Last Updated: 31 July 2021
The best way to encrypt and decrypt passwords is to use a standard library in PHP because the method of properly encrypting and decrypting p
...read more
Web Technologies
Picked
PHP
PHP Programs
PHP-Misc
How to fetch data from localserver database and display on HTML table using PHP ?
Last Updated: 06 June 2022
In this article, we will see how we can display the records in an HTML table by fetching them from the MySQL database using PHP.Approach: Ma
...read more
Web Technologies
PHP
PHP Programs
PHP-Questions
How to create admin login page using PHP?
Last Updated: 30 May 2022
In this article, we will see how we can create a login page for admin, connected with the database, or whose information to log in to the pa
...read more
DBMS
SQL
Web Technologies
PHP
PHP Programs
How To
PHP-Questions
Similar Topics
Web Technologies
40.2k+ articles
DSA
22.3k+ articles
Arrays
6.4k+ articles
PHP
3.8k+ articles
PHP-function
2.2k+ articles
Matrix
1.2k+ articles
PHP-Questions
410+ articles
PHP-array
180+ articles
PHP-string
150+ articles
PHP-Misc
100+ articles
How to Install php-curl in Ubuntu ?
Last Updated: 05 October 2021
CURL stands for Client URL. It is a Linux Terminal command which is used to transferring data from one server to another server. It is a fre
...read more
Web Technologies
Picked
PHP
PHP Programs
PHP-Misc
How To
Installation Guide
how-to-install
PHP | Ternary Operator
Last Updated: 25 April 2025
If-else and Switch cases are used to evaluate conditions and decide the flow of a program. The ternary operator is a shortcut operator used
...read more
Web Technologies
PHP-basics
Picked
PHP
PHP Programs
Write From Home
How to pass form variables from one page to other page in PHP ?
Last Updated: 31 July 2021
Form is an HTML element used to collect information from the user in a sequential and organized manner. This information can be sent to the
...read more
Technical Scripter
Web Technologies
PHP-basics
Picked
PHP
PHP Programs
How to echo HTML in PHP ?
Last Updated: 31 July 2021
While making a web application with PHP, we often need to print or echo few results in form of HTML. We can do this task in many different w
...read more
Web Technologies
PHP-basics
Picked
PHP
PHP Programs
How to delete a file using PHP ?
Last Updated: 28 March 2022
To delete a file by using PHP is very easy. Deleting a file means completely erase a file from a directory so that the file is no longer exi
...read more
Web Technologies
Picked
PHP
PHP Programs
How to send an email using PHPMailer ?
Last Updated: 07 March 2023
PHPMailer is a code library and used to send emails safely and easily via PHP code from a web server. Sending emails directly via PHP code r
...read more
Web Technologies
PHP
PHP Programs
How to Create Comma Separated List from an Array in PHP?
Last Updated: 18 September 2024
The comma-separated list can be created by using implode() function. The implode() is a builtin function in PHP and is used to join the elem
...read more
Web Technologies
Picked
PHP
PHP Programs
Why to check both isset() and !empty() function in PHP ?
Last Updated: 20 September 2024
In PHP, isset() checks if a variable is set and not null, while !empty() checks if a variable exists and is not empty (non-zero, non-null, n
...read more
Technical Scripter
Web Technologies
Picked
PHP
PHP Programs
Technical Scripter 2018
Multidimensional arrays in PHP
Last Updated: 20 September 2024
Multi-dimensional arrays in PHP are arrays that store other arrays as their elements. Each dimension adds complexity, requiring multiple ind
...read more
Technical Scripter
Web Technologies
PHP-array
Picked
PHP
PHP Programs
String comparison using == vs strcmp() in PHP
Last Updated: 30 November 2021
In this article, we will see the string comparison using the equal (==) operator strcmp() Function in PHP, along with understanding their i
...read more
Technical Scripter
Web Technologies
PHP
PHP Programs
PHP-Questions
How to make a redirect in PHP?
Last Updated: 14 September 2022
Redirection from one page to another in PHP is commonly achieved using the following two ways:Using Header Function in PHP:The header() func
...read more
Technical Scripter
Web Technologies
Picked
PHP
PHP Programs
Technical Scripter 2018
How to calculate the difference between two dates in PHP ?
Last Updated: 27 September 2024
In PHP, you can calculate the difference between two dates using the DateTime class and its diff() method. This method returns a DateInterva
...read more
Web Technologies
Picked
PHP
PHP Programs
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
Last
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 !