02
Feb
2011
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 ;










