PHP if2
Write a program to show the use of if statement in PHP? Output:
Write a program to show the use of if statement in PHP? Output:
Use of If Statements in PHP. OUTPUT:
To study the use of for loop by a Factorial Program. OUTPUT :
Write a Program to show the use of echo in php? Output:
To study the use of ‘echo’ statements . OUTPUT :
PHP (Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. PHP … Read more
Constants are variables that except once they are defined they cannot be undefined or changed. A constant is an identifier or a name.The value cannot … Read more
DATATYPES IN PHP Data Types: Data types defines the type of values a variable can store. PHP supports the following data types:· String· Integer· Float … Read more
Variables in PHP Variables are like a container to store data.Variables in php starts with Dollar sign ($). Example: $a = “Hello”;$b = 50;$c = … Read more