Re: [PHP] Re: equivalent of asp's <%= strTest %>

2001-04-07 Thread Plutarck
> And if the 'short tag' method is useful enough for people, why 'exclude' it from a standard? Because no matter what installation of PHP you have, this works: But this: Or this: Or this: <% echo $var; %> ...is made invalid if short_tags are disabled (and the last only works with ASP t

Re: [PHP] Re: equivalent of asp's <%= strTest %>

2001-04-07 Thread Philip Olson
Have a look here : http://www.php.net/manual/en/pear.standards.php Regarding http://www.php.net/manual/en/configuration.php#ini.short-open-tag Regards, Philip On Sat, 7 Apr 2001, Michael Kimsal wrote: > Yes yes I'm a zealot. :) > > If the people defining the PEAR standards really were th

Re: [PHP] Re: equivalent of asp's <%= strTest %>

2001-04-07 Thread Michael Kimsal
Yes yes I'm a zealot. :) If the people defining the PEAR standards really were that interested in standards, why include alternate ways of doing something? And if the 'short tag' method is useful enough for people, why 'exclude' it from a standard? This notion of 'PEAR standards' does irk me

Re: [PHP] Re: equivalent of asp's <%= strTest %>

2001-04-07 Thread Philip Olson
PHP does have an equivelent, as shown by Shaun : Things to keep in mind : 1. Is PHP4+ specific 2. Won't work if short_open_tag setting is off (in php.ini) - One reason to turn this off, to enable XML support 3. Doesn't follow up-and-coming PEAR coding standards And as you've see

Re: [PHP] Re: equivalent of asp's <%= strTest %>

2001-04-07 Thread shaun
I haven't done asp in a while so if this just shows the var's value then you just replace % with ? On Saturday 07 April 2001 11:00, Alexander Skwar wrote: > So sprach Costas am Wed, Apr 04, 2001 at 02:07:54PM +0100: > > Is there an equivalent in PHP of the following code: > > > > equivalent o

[PHP] Re: equivalent of asp's <%= strTest %>

2001-04-07 Thread Alexander Skwar
So sprach Costas am Wed, Apr 04, 2001 at 02:07:54PM +0100: > Is there an equivalent in PHP of the following code: > > equivalent of asp's <%= strTest %> Uhm - what does this strange line do?? Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepag