02
Feb
2011

PHP echo function

Posted in: PHP No Comments


The PHP echo function simply outputs the content to the browser.
Let me explain using an example. I want to output Welcome to 52webdesign.com. Below is php code for this.

<?php
echo "Welcome to 52webdesign.com";
?>

Please note:

  • PHP code start with <?php
  • PHP code must end with ?>
  • Each PHP instruction must end with a semicolon ;

About the Author

Name: Ravi Shekhar
Hi, I love designing WordPress Themes and Drupal Themes.

Share this post

Twitter Facebook Google Buzz Digg StumbleUpon Delicious Technorati

Leave a Reply