Reply to newbie question: <?=$variable?> yields no output
Posted by kurt.krueckeberg on 09/28/07 18:09
I am trying to learn php. Php statements of the form <?=$var?> do not
work? If I use <? echo $var; ?> instead, it works. I am using php5.
Here is a saample
<?php
$var = 5;
?>
var = 10;<br />
The variable $var has a value of:
<?=$var?><br />
<!-- prior line gives no output -->