Echo in PHP

Posted The: 17/03/2009 At: 21:48

Contents:

Echo is a language construct of PHP, and is used to output Data to the Browser.

Example

Below example outputs the content of a variable, called $str.

$str = '<p>Welcome to Brugbart!</p>';
echo $str;

Would output Welcome to Brugbart! in a paragraph.

Comments: [0]

© Brugbart Webdesign