You know, replies like:
"It does work in PHP4"
aren't really helpful.
Anyway, Duke, go ahead and look in your php.ini file. there is a setting in there that allows you to use short tags like the ones you are trying to use. It must be turned off in your puter.
You can also write
<?= $variable ?>
as you do in asp with <%= $var %>
a look at mine:
;;;;;;;;;;;;;;;;;;;;
; Language Options ;
;;;;;;;;;;;;;;;;;;;;
engine = On ; Enable the PHP scripting language engine under Apache
short_open_tag = On ; allow the <? tag. otherwise, only <?php and <script> tags are recognized.
asp_tags = Off ; allow ASP-style <% %> tags
precision = 14 ; number of significant digits displayed in floating point numbers
y2k_compliance = Off ; whether to be year 2000 compliant (will cause problems with non y2k compliant browsers)
output_buffering = Off ; Output buffering allows you to send header lines (including cookies)