PHP if…else statement if (…else) statement – use this statement if you want to execute a set of code when a condition is true (and another if the condition is not true). The if…else Statement An if statement that includes…
Tag: scripting language
PHP if statement
PHP if statement – this statement is used to execute a specific programming code if a specified condition is true. The if statement Used to execute a specific programming code if a specified condition is true. An if statement can…
PHP String Variable
PHP string variable is variable that is used contains text or characters. In this lesson we are going to learn how to store a string in a variable and use a string directly into a function. Let’s see some example…
PHP Variables
PHP Variables In this lesson we are going to learn how to declare a variable in PHP. A variable is something that can handle a piece of information. Variable in PHP can store values such as text and integers. The…
PHP Tutorial – PHP Basic Data types
PHP Basic Data types The table shows the simple data types in PHP. [TABLE=2]
PHP Tutorial – Learning the PHP Syntax
PHP scripts are enclosed within a start and end tag. PHP scripts are embedded in a HTML document and you can place the PHP codes anywhere in the document. The two forms of PHP scripting block: The shorthand form starts…
Introduction to PHP scripting language
What is PHP? PHP stands for Hypertext Preprocessor. It is an open source server-side scripting language which means that the scripts are executed on the server like ASP (Active Server Pages). PHP is a cross-platform application that runs on Linux,…