|
Posted by Rik on 08/06/07 20:15
On Mon, 06 Aug 2007 22:10:29 +0200, Iván Sánchez Ortega
<ivansanchez-alg@rroba-escomposlinux.-.punto.-.org> wrote:
> kvnsmnsn@hotmail.com wrote:
>
>> What's the difference here between the <echo "$doc_title\n"> statement
>> and the <?= $doc_title ?> statement? Are they synonyms for each
>> other, or are there differences that I don't see?
>
> See here:
> http://www.php.net/manual/en/language.basic-syntax.php
>
> And read carefully Example 10.2
>
And take special care reading the last note:
"Note: Using short tags should be avoided when developing applications or
libraries that are meant for redistribution, or deployment on PHP servers
which are not under your control, because short tags may not be supported
on the target server. For portable, redistributable code, be sure not to
use short tags."
--
Rik Wasmus
Navigation:
[Reply to this message]
|