[PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread C.R.Vegelin
I have a PHP script, as follows: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?-- Shouldn't it be just: !-- --, without the echo result ? I don't

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Robert Degen
On Sa, Jul 28, 2007 at 03:40:07 +0100, C.R.Vegelin wrote: I have a PHP script, as follows: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?--

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Paul Novitski
At 7/28/2007 07:40 AM, C.R.Vegelin wrote: I have a PHP script, as follows: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?-- Shouldn't it be just: !--

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Daniel Brown
On 7/28/07, Paul Novitski [EMAIL PROTECTED] wrote: At 7/28/2007 07:40 AM, C.R.Vegelin wrote: I have a PHP script, as follows: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread C.R.Vegelin
Hi Daniel, Paul, Robert, Rick, Thanks for making it clear. Have a nice weekend. Cor - Original Message - From: Daniel Brown [EMAIL PROTECTED] To: Paul Novitski [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Saturday, July 28, 2007 4:29 PM Subject: Re: [PHP] Comment modes

Re: [PHP] Comment modes behavior in HTML and PHP

2007-07-28 Thread Richard Lynch
On Sat, July 28, 2007 9:40 am, C.R.Vegelin wrote: I have a PHP script, as follows: !-- ?php echo should this be echoed ?; ? -- As expected, the browser shows nothing, but when I view Source in the browser, I see: !-- start HTML comment should this be echoed ?--