Tuesday, 28 October 2014

The PHP print Statement

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

Display Strings

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



Display Variables

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



Posted by Syafiah Ahmad
Date : 28 Oct 2014




0 comments:

Post a Comment