Re: Php script for mail in a xhtml page

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

 



Chris wrote:
brian wrote:

- You can do without the "echo" by using, eg. <?= $message ?>


Yet later in another thread you complain about short_tags being an option.. can't have it both ways.

Oh, is that so? Let's see what i wrote ...

-- snip --
... Better yet, PHP should do away with <? ?> altogether but allow
<?= ?>, which is *very* helpful (to those of us who choose to use it).
-- snip --

Leave it as <?php echo $message; ?>

it's more portable - it will work on every single php server and you won't have any issues moving your code around.


-- snip --
I do agree that developing with short_open_tags = on is a Bad Idea if the app will not be under one's control.
-- snip --

But thanks. I know you were really trying.

brian

--
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