Re: Can't make shorthand work in PHP5
| From: | chris smith | Date: | Sun, 16 Apr 2006 14:29:00 +0000 |
| Subject: | Re: Can't make shorthand work in PHP5 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234081@lists.php.net to get a copy of this message | ||
On 4/16/06, cajbecu <cajbecu@gmail.com> wrote:
> Hello,
>
> Check your php.ini configuration, there is an option to activate this
> option.
Might help to tell them what it is..
Look for short_open_tag.
http://www.php.net/manual/en/ini.core.php
(you can enable it with a htaccess file if need be).
> abrea@estudiobrea.com wrote:
> > Dear List,
> > The shorthand form <?=$printthis?> worked fine for me in PHP4, but I
> > cannot make it work in PHP5. (<?php print($printthis); ?> works ok,
> > however).
> > Could anybody please tell me if this form is still available in PHP5, and,
> > if so, if a different syntax is needed?
> > I searched the matter in the documentation but couldn't find it.
> > Thank you
--
Postgresql & php tutorials
http://www.designmagick.com/