don't, just don't
don't use short open tags: <? ?>;
always use the long form of the PHP open tag (<?php ?>
)
don't use print; use echo
<?
// bad
print $var;
?>
<?php
// good
echo $var;
?>
don't use short open tags: <? ?>;
always use the long form of the PHP open tag (<?php ?>
)
don't use print; use echo
<?
// bad
print $var;
?>
<?php
// good
echo $var;
?>
Comments
Leave a Reply