PHP Basics

PHP basic knowledge resources and tutorials

Concatenate strings in PHP using concatenation operator

July 31, 2010

Concatenation is the process of joining multiple strings into one.In PHP concatenate  strings is doing by concatenation operator ( “.” dot symbol ).Using of concatenation is highly used one in PHP programs. We need to use this for string concatenations and for printing the results in desired order etc. Here is one Sample PHP...

Read more »

Variable Declarations in PHP

July 31, 2010

Variables are used for storing the data like strings, numbers , arrays etc in programs. In PHP a variable starts with a $ sign. Forgetting to add $ sign is a very common mistake for the beginners. Example for a PHP variable : $variable And the declaration will look like  $variable = VALUE ;...

Read more »

How a PHP program look like

July 31, 2010

PHP programs are saved in a file with extension “.php”  ( we can use it in .html files also , that I will explain other posts ). PHP scripts will be in between <?php and   ?> tags. <?php  is the starting tag ( where our php program in the page starts ) and ?>...

Read more »

What is PHP and Full form of PHP ?

July 28, 2010

Full form of PHP is Hypertext Preprocessor PHP is the most popular and widely used server side scripting language for web development. It is used to make the Dynamic pages in websites. Rasmus Lerdorf was the creator of PHP in 1995. PHP codes are embedding in HTML source codes for making the page dynamic....

Read more »