Tuesday 28 October 2014

The PHP echo Statement

echo is a language construct, and can be used with or without parentheses: echo or echo().

Display Strings

The following example shows how to display different strings with the echo command (also notice that the strings can contain HTML markup):



Display Variables

The following example shows how to display strings and variables with the echo command:



Posted by Syafiah Ahmad
Date : 28 Oct 2014






0 comments:

Post a Comment