Web Enthusiastic, Nature Lover

Month: January 2018

PHP – Strings

They are sequences of characters, like “PHP supports string operations”. NOTE − Built-in string functions is given in function reference PHP String Functions Following are valid examples of string $string_1 = “This is a string in double quotes”; $string_2 = “This is a somewhat longer, singly quoted string”; $string_39 = “This string has thirty-nine characters”; $string_0 =

PHP – Conditional Statements (Decision Making)

The if, elseif …else and switch statements are used to take decision based on the different condition. You can use conditional statements in your code to make your decisions. PHP supports following three decision making statements − if…else statement − use this statement if you want to execute a set of code when a condition is

PHP – Environment Setup

In order to develop and run PHP Web pages three vital components need to be installed on your computer system. Web Server − PHP will work with virtually all Web Server software, including Microsoft’s Internet Information Server (IIS) but then most often used is freely available Apache Server. Download Apache for free here − Database − PHP