What does this code mean, i see this in a code , but have to change i it toPHP Code:<?=$var?>
to work for me.PHP Code:<?php echo $var?>
| SitePoint Sponsor |


What does this code mean, i see this in a code , but have to change i it toPHP Code:<?=$var?>
to work for me.PHP Code:<?php echo $var?>
chartahir





The abbreviated PHP "open and echo" tag:
Is the equivilent to:PHP Code:<?= /* everything here is outputted*/ ?>
PHP Code:<?php echo /* everything here is outputted*/; ?>





Note that <?=$var?> type syntax requires short_open_tag = On in your php.ini file, vhost section of httpd.conf or a .htaccess file.
Bookmarks