Re: Quick questions <?=something?>

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

 



> <?= $string ?>
> means the same as
> <?php echo $string ?>
> if short_open_tag is on
******
> It's perfectly valid PHP, I use it all the time on my own sites, but
> because it's
> one of those php.ini settings you have a 50/50 chance of
> finding on (or off!) you shouldn't rely on it unless you know the
> environment.


Hey all,
Thanks guys, I didnt know about any "short_open_tag" setting,
I guess I'll just stick to my regular style coz i have no idea how the
client/s php is setup plus if I move my own stuff to a different host it may
not be so kind...

Perfect answer to my Q, thanks!

Cheers,
Ryan





-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 12/3/2004

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