PHP – echo alternative/shorthand

By | May 9, 2011

Hi,

For printing statements in PHP we make use of echo like this.

<?php echo "Coderz Heaven"; ?> 

An alternative way of echo or a shorthand of echo will look like this.

<?="Coderz Heaven"?>

🙂

Leave a Reply

Your email address will not be published. Required fields are marked *