PHP Tutorial

PHP stands for "PHP: Hypertext Preprocessor". It is a widely-used Open Source general-purpose scripting language especially suited for web development. It can be embedded into HTML. The main goal of the language is to allow web developers to write dynamically generated web pages quickly, but you can do much more with PHP.

Title
How to Remove HTML tags from String in PHP - strip_tags() Function
How to Replace String in PHP - str_replace() Function
How to Find Position of Substring in PHP - strpos() Function
How to Convert Special Characters to HTML Entities - htmlspecialchars() Function
How to Increment or Decrement String in PHP - str_increment() and str_decrement() Functions
How to Change Case in PHP - strtolower() and strtoupper() Functions
How to Count Words in PHP - str_word_count() Function
How to Remove Whitespace Characters in a string in PHP - trim() Function
How to Split String in PHP using Delimiter - explode() Function
How to Find Part of String - substr() Function
How to Find String Length in PHP - strlen() Function
How to Find First Occurrence in String - strstr() and stristr() Function
Total Number of Elements in Array - count()
Merge Arrays in PHP - array_merge()
How To Sort Arrays in PHP
How To Remove First Element of Array in PHP - array_shift() Function
How To Remove Last Element of Array in PHP - array_pop() Function
How to Read Emails Using PHP
Searching for a Pattern Using preg_match()
Searching Array Using preg_grep()
PHP Directory Handling
PHP File Handling
PHP Dates and Times
Validate Form Data with PHP
How to Get Form Information in PHP
PHP Upload File Using Forms
Retrieve DNS Resource Records - dns_get_record()
Check for Existence of DNS Records - checkdnsrr()
PHP Sessions
Web Services and PHP
MVC Structure in PHP
PHP and MySQL Database Using Object-Oriented Approach
PHP Namespacing
Static Methods & Properties in PHP Class
Inheritance in PHP
Class Constructors and Magic Methods
Defining a Class
Object Oriented Programming
PHP Exception Handling
PHP Error Messages
REST API and PHP
PHP Functions
PHP Loops
PHP Conditional Statements
PHP Operators
PHP Data Types
Variable Testing in PHP
PHP Superglobals: Global Variables
PHP Variables
Introduction to PHP
Page 1 of 2