[UPHPU] Newbie needs help
geekout at gmail.com
Fri Jun 10 12:43:54 MDT 2005
<?=$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.
On 6/10/05, David Boucha <boucha at gmail.com> wrote:
> On 6/10/05, John M <johnm_ul at yahoo.com> wrote:
> > Everyone: Thanks for the input so far. I've inserted
> > $_REQUEST['name'] and I've used $_SERVER["PHP_SELF"].
> > At this point I'm not getting a blank page anymore.
> > Right now I'm getting...(after leaving the text box
> > blank on the html page)
> > <p>Your name: <?=$name?></p>
> Should be:
> > <p>Your name: <?php echo $name ?></p>
> I believe you need to echo out the variable. That's why it isn't displaying.
> David Boucha
> UPHPU mailing list
> UPHPU at uphpu.org
> IRC: #uphpu on irc.freenode.net
More information about the UPHPU