[UPHPU] Newbie needs help

David Boucha boucha at gmail.com
Fri Jun 10 12:47:31 MDT 2005


On 6/10/05, Tyler Gee <geekout at gmail.com> wrote:
> <?=$name?> is okay but only if enabled.
> 
> From the manual:
> 
> 3.  <? echo 'this is the simplest, an SGML processing instruction'; ?>
>    <?= expression ?> This is a shortcut for "<? echo expression ?>"
> 
>  Short tags (example three) are only available when they are enabled
> via the short_open_tag php.ini configuration file directive, or if php
> was configured with the --enable-short-tags option.
> 
> http://www.php.net/manual/en/language.basic-syntax.php
> 
> -wtgee

Oh, good catch. I didn't know that. I wonder if he doesn't have short
tags enabled and that's causing his headache.

David




More information about the UPHPU mailing list