Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #4465

Re: ommiting closeing tag in PHP

Message-ID <3742193.Odxabdfos6@PointedEars.de> (permalink)
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Organization PointedEars Software (PES)
Date 2012-01-16 01:30 +0100
Subject Re: ommiting closeing tag in PHP
Newsgroups comp.lang.php
References (14 earlier) <9n36ioFs8vU1@mid.uni-berlin.de> <jei54k$ifm$1@dont-email.me> <9n3nmsF9a7U1@mid.uni-berlin.de> <jei9ha$pcu$1@news.albasani.net> <qjmx9vfe0y.fsf@news.eternal-september.org>
Followup-To comp.lang.php

Followups directed to: comp.lang.php

Show all headers | View raw


Richard wrote:

> The Natural Philosopher <tnp@invalid.invalid> writes:
>> M. Strobel wrote:
>>> Am 10.01.2012 20:56, schrieb Jerry Stuckle:
>>>> And leaving off a closing tag to get round an editor problem is
>>>> just plain sloppy programming.  But we already know certain
>>>> people here don't care about that.
>>> He has no editor problem, he can leave the closing tag off. Don't
>>> send him off in a goose chase.
>>>
>>> I knew who would not be comfortable with this easy solution.
>>
>> Only because
>>
>> (a) he didn't know it
>>  and
>> (b) I said it was useful.
>>
>> NOTHING is easier than typing a ?> and then following it with a carriage
>> return..
> 
> How horrible. Are people really suggesting this hard to spot (when you
> dont know it) hack as a way to develop code?  Leaving off closing
> tags?!?!?

Your keyboard is borken.

What exactly is your problem with avoiding the problem caused by adding the 
"closing tag"?  It is the *P*HP *H*ypertext *P*reprocessor.  It is 
*supposed* to output any character outside of <?php … ?> sections.


PointedEars
-- 
Sometimes, what you learn is wrong. If those wrong ideas are close to the 
root of the knowledge tree you build on a particular subject, pruning the 
bad branches can sometimes cause the whole tree to collapse.
  -- Mike Duffy in cljs, <news:Xns9FB6521286DB8invalidcom@94.75.214.39>

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

this is my code i am not getting images throuh php script srikanth <sritullimilli@gmail.com> - 2012-01-09 07:23 -0800
  Re: this is my code i am not getting images throuh php script Captain Paralytic <paul_lautman@yahoo.com> - 2012-01-09 07:37 -0800
    Re: this is my code i am not getting images throuh php script Erwin Moller <erwinmollerusenet@xs4all.nl> - 2012-01-09 17:25 +0100
      Re: this is my code i am not getting images throuh php script The Natural Philosopher <tnp@invalid.invalid> - 2012-01-09 17:35 +0000
        Re: this is my code i am not getting images throuh php script "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-09 19:48 +0100
          Re: this is my code i am not getting images throuh php script The Natural Philosopher <tnp@invalid.invalid> - 2012-01-09 19:33 +0000
            Re: this is my code i am not getting images throuh php script "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-09 21:20 +0100
              Re: this is my code i am not getting images throuh php script The Natural Philosopher <tnp@invalid.invalid> - 2012-01-09 20:38 +0000
                Re: this is my code i am not getting images throuh php script "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-09 21:53 +0100
                Re: this is my code i am not getting images throuh php script Luuk <Luuk@invalid.lan> - 2012-01-09 23:04 +0100
                Re: this is my code i am not getting images throuh php script "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-09 23:08 +0100
                ommiting closeing tag in PHP   [Re: this is my code i am not getting images throuh php script] Luuk <Luuk@invalid.lan> - 2012-01-10 11:58 +0100
                Re: ommiting closeing tag in PHP [Re: this is my code i am not getting images throuh php script] Captain Paralytic <paul_lautman@yahoo.com> - 2012-01-10 03:15 -0800
                Re: ommiting closeing tag in PHP [Re: this is my code i am not getting images throuh php script] The Natural Philosopher <tnp@invalid.invalid> - 2012-01-10 12:34 +0000
                Re: ommiting closeing tag in PHP [Re: this is my code i am not getting images throuh php script] Captain Paralytic <paul_lautman@yahoo.com> - 2012-01-10 05:24 -0800
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not getting images throuh php script] The Natural Philosopher <tnp@invalid.invalid> - 2012-01-10 12:33 +0000
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not getting images throuh php script] Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-10 07:54 -0500
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not   getting images throuh php script] "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-10 17:16 +0100
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not   getting images throuh php script] Jerry Stuckle <jstucklex@attglobal.net> - 2012-01-10 14:56 -0500
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not     getting images throuh php script] "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-10 22:08 +0100
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not     getting images throuh php script] The Natural Philosopher <tnp@invalid.invalid> - 2012-01-10 21:11 +0000
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not getting images throuh php script] Richard <rgrdev_@gmail.com> - 2012-01-10 22:23 +0100
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not getting images throuh php script] The Natural Philosopher <tnp@invalid.invalid> - 2012-01-10 21:31 +0000
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not   getting images throuh php script] "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-01-10 22:45 +0100
                Re: ommiting closeing tag in PHP   [Re: this is my code i am not getting images throuh php script] Luuk <Luuk@invalid.lan> - 2012-01-10 23:02 +0100
                Re: ommiting closeing tag in PHP Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-01-16 01:30 +0100
            Re: this is my code i am not getting images throuh php script Arno Welzel <usenet@arnowelzel.de> - 2012-01-11 15:51 +0100

csiph-web