PHP Error Handling

PHP Error Handling

Identify and recover your PHP code from runtime errors with PHP Error Handling techniques. Learn how to handle errors effectively and discover the quick ways to resolve them: In this tutorial, you will learn PHP coding standards, PHP error types, the die() function, PHP try-catch, debugging, PHP error reporting, and …

Read more


PHP Date and Time Tutorial With Examples

PHP Date and Time

Discover all about the PHP Date and Time function with examples. Learn how to use them effectively in your applications to get the current date and time in PHP: In this tutorial, you will learn what the PHP date function is, PHP date, PHP time, and frequently asked questions (FAQs) …

Read more


Sending Emails Using PHP mail() Function

Sending Emails Using PHP

A step-by-step guide on how to send emails in PHP using the PHP mail() function. Discover the best practices for effective email delivery in your PHP applications with examples: In this tutorial, you will learn what the PHP mail function is, PHP mail parameters, examples of sending emails using PHP, …

Read more


PHP Sessions: Start, Modify & Destroy Sessions

PHP Sessions

PHP Session is a mechanism to store information across multiple pages. Gain understanding on how to start, modify, & destroy PHP sessions using programming examples: In this tutorial, you will learn what a PHP session is, how to start, modify, & destroy PHP sessions. Also, see the differences between cookies …

Read more


PHP File Handling Examples

PHP File Handling

Read, write, delete & modify files effortlessly with built-in file handling functions. Learn all the techniques of PHP File Handling and streamline your file manipulation process: In this tutorial, you will learn file manipulation in PHP with related functions like PHP fopen, PHP file uploading, and some frequently asked questions …

Read more


PHP Include And Require Statements

PHP Include and Require

Deeply understand the importance of include and require statements in PHP. Explore the differences between PHP include and PHP require functions with code explanations: PHP has a lot of built-in functions, and we have already discussed several of them. In this tutorial, our main concentration is on PHP include() and …

Read more


PHP Form Handling with Form Validation Examples

PHP Form Handling

Explore the key steps involved in PHP Form Handling with examples. Gain understanding of PHP Form Validation and its various types, to protect your script from malicious code: In this tutorial, you will learn PHP forms, PHP form validation, and frequently asked questions (FAQs) related to form handling. Please note …

Read more


PHP Arrays: Types and Examples

PHP Arrays

An array in PHP is a special variable that can hold multiple values of different data types in a single variable. Learn all about PHP Arrays and their different types with simple examples: In this tutorial, you will learn an introduction to arrays, types of PHP arrays, PHP array functions, …

Read more


PHP Numbers and Math Functions

PHP Numbers & Mathematical Functions

An in-depth study of PHP Numbers that includes Integer, Float & Numerical Strings. Explore the various PHP Math functions with examples to perform complex calculations: We have already discussed some basics of PHP numbers in one of our earlier tutorials (PHP Data Types and Keywords). In this tutorial, we are …

Read more


PHP Regular Expressions

PHP Regular Expressions

A detailed explanation of PHP Regular Expressions with practical examples. Learn all about delimiters, metacharacters, modifiers & PHP Regex Functions to handle regular expressions: In this tutorial, you will learn what a regular expression is, delimiters, metacharacters, uses of the backslash character, modifiers, character classes, PHP regex functions, and frequently …

Read more


PHP Strings: Different Methods With Examples

PHP Strings

PHP Strings are a sequence of characters surrounded by single or double quotes. Learn how to create a PHP String and explore the various PHP String methods with examples: In this tutorial, you will learn what a PHP string is, how to create a string, PHP string functions, and frequently …

Read more


PHP Functions: Classifications, Parameters and More

PHP Functions

PHP Functions are blocks of reusable code that are designed to perform a specific task. Understand its Classifications, Arguments & default values with simple examples: In this tutorial, you will learn what a PHP function is, built-in functions (such as PHP empty(), count(), etc.), user-defined functions, parameters, arguments & default …

Read more


PHP Constants

PHP Constants

PHP Constants are the identifiers that cannot be changed. Learn how to create a PHP Constant, and know more about pre-defined constants & Magic constants with examples:

In this tutorial, you will learn what a PHP constant is, how to create PHP constants (using the PHP define() function and the const keyword), predefined constants, magic constants, differences between constants and variables, and frequently asked questions (FAQs).

Please note that we have used PHP version 7 in all examples.

Let’s begin!

=> In-Depth PHP Tutorials for Beginners

Read more

Was this helpful?

Thanks for your feedback!

PHP Displaying Variables: PHP Echo & Print Statements

Displaying Variables and PHP echo, print, print_r & var_dump

Explore all about Displaying Variables in PHP with examples. Understand the differences between PHP echo and PHP Print statements to get output text or variables in PHP: In this tutorial, you will learn how to display variables using PHP echo, PHP print, PHP print_r() & PHP var_dump(), some other uses …

Read more


PHP Variables

PHP Variables

PHP Variables act as containers to store numeric & non-numeric information. Understand the concepts of PHP Variable creation, variable handling, variable scope, etc, with examples: In this tutorial, you will learn what a PHP variable is, how to create PHP variables, $var vs $$var, PHP variable handling, PHP variable scope …

Read more


PHP Tutorials: Learn PHP From Scratch

Php Tutorials

Kick-start your programming journey with this step-by-step series of PHP tutorials. Clearly understand every concept from the perfect examples included in each tutorial:

PHP (Hypertext Preprocessor) is an open-source server-side scripting language that is primarily used for web development. Originally called Personal Home Page Tools, PHP was created by Rasmus Lerdorf in 1994 to track visitors to his website. He released it as open-source, and PHP rapidly gained popularity among web developers worldwide.

It generates dynamic content on web pages as it is embedded directly into HTML. It can run on various operating systems such as Windows, Linux, and macOS. PHP is a dynamically typed language that supports session management, database handling & form handling tasks.

Read more

Was this helpful?

Thanks for your feedback!

PHP Operators: Classification With Examples

PHP Operators

PHP Operators are the special symbols or strings for operations on PHP variables & values. Discover the different categories of PHP Operators with simple programming code examples: In this tutorial, you will learn about PHP operators (like PHP assignment operators, PHP comparison operators, PHP ternary operators, and many more), the …

Read more


PHP Data Types and Keywords

PHP Data Types and Keywords

Explore all about the wide range of PHP Data Types and Keywords with simple examples. Understand the various kinds of PHP Data Types and learn how to use them: In this tutorial, you will learn different data types (like PHP integers, PHP boolean, PHP null, and many more), keywords, and …

Read more


PHP Syntax and Comments with Examples

PHP Syntax

Explore the core concept of PHP Syntax and PHP comments with simple examples. Understand the exact process to write Single-Line Comments and Multi-line Comments in minutes: In this tutorial, you will learn basic PHP syntax, the relationship between PHP and HTML, case sensitivity, space sensitivity, PHP comments, and frequently asked …

Read more


VBScript Tutorial for Beginners

VBscript tutorial

Introduction to Microsoft VBScript (Visual Basic Script): VBScript Tutorial #1 In today’s scenario, VBScript has turned out to be a very important topic, especially for beginners who wish to learn the scripting language or automation tools like QTP/UFT. => Click Here For The QTP Training Tutorials Series => SCROLL DOWN to see …

Read more