In this example, we will discuss php conditional statements. PHP supports the following conditional statements. if conditional statement if…..else conditional statement if….elseif…..else conditional statement switch…..case conditional statement The if Statement This is used to executed a block of code when the if
Category: Beginner Tutorials
PHP Operators
In this example you will learn how to manipulate or perform the operations on variables and values using operators in PHP. What are Operators in PHP Operators are symbols that tell the PHP processor to perform certain actions. For example,
PHP Strings
In this article you will learn how to store and manipulate strings in PHP. What is String in PHP A string is a sequence of letters, numbers, special characters, and arithmetic values or combinations of all. Calculating the Length of
PHP Datatypes
Today we will learn PHP Datatypes. PHP supports the following Datatypes: String Integer Float (floating-point numbers – also called double) Boolean Array Object NULL Resource To create variables, these data types are used. Now let’s discuss in depth each one
PHP Variables & Constants
In this article, we will learn php variables and also learn php constant with example. PHP Variables Variables are also used for storing data, such as text strings, numbers, etc. Over the codes of a script, variable values can be
PHP Syntax
PHP script start with the <?php tag and ends with ?> tag. Between the two tags, a PHP script is written. <?php the opening tag and the ?> closing tag tells the engine to treat the enclosed code block as
How to install xampp in windows 10
Today I am going to show you how to install xampp on your local machine. We will learn how to install xampp step by step on Windows 10 machine. Step 1: Search for xampp Step 2: Download Xampp Step 3: