Conditional statements are used to perform different actions based on different conditions. // using if...else statement php $a...
Home / Archives for December 2021
Monday, December 6, 2021
Learn About PHP Array and Associative Array - Basic PHP
An array stores multiple values in one single variable: // Create an array $numList = array(10,13,15,16,14,18,19,17); $num...
Learn About PHP Operators - PHP Basic Guideline
Operators are used to perform operations on variables and values. PHP Arithmetic Operators - +, -, *, /, % (Modulas) PHP Assignmen...
PHP Basic Math Operation - Basic PHP Guideline
How we can use math operation using php. $num1 = 20; $num2 = 40; $sum = $num1 + $num2; echo $sum;
PHP Basic Dynamic Content Example - PHP Basics
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title...
PHP Variable How to Use In PHP Programming - Basic PHP
Variable is a box where we store our data for reusing this when we required. $firstName = 'Anil'; $lastName = 'Singh';...
Display Text, Number Using PHP - PHP Basic Guideline
In PHP we use echo for print text or number in screen. example is below. Usefull String prebuilt function.=> strlen() => check...
Subscribe to:
Comments (Atom)
Label
Blog Archive
- February 2024 (1)
- January 2024 (4)
- July 2023 (1)
- November 2022 (10)
- May 2022 (4)
- December 2021 (7)
- August 2021 (25)