Re: Can't make shorthand work in PHP5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/16/06, cajbecu <cajbecu@xxxxxxxxx> 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@xxxxxxxxxxxxxxx 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/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux