Reply to Re: Echo versus Question Mark Equals

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация