FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » this is my code i am not getting images throuh php script
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: ommiting closeing tag in PHP [message #176655 is a reply to message #176600] Mon, 16 January 2012 00:30 Go to previous messageGo to previous message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma:
Senior Member
Richard wrote:

> The Natural Philosopher <tnp(at)invalid(dot)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(at)94(dot)75(dot)214(dot)39>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: repair SUSE php5 -a
Next Topic: Learn Chinese (Mandarin) faster by using flashcards with pictures
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 16:52:52 GMT 2024

Total time taken to generate the page: 0.04305 seconds