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


Groups > comp.lang.php > #11295

Re: simple url problem

From Denis McMahon <denismfmcmahon@gmail.com>
Newsgroups comp.lang.php
Subject Re: simple url problem
Date 2013-10-05 18:29 +0000
Organization A noiseless patient Spider
Message-ID <l2plpp$2o4$1@dont-email.me> (permalink)
References <1u7hl6faeyoet$.14yt7rp1zju49$.dlg@40tude.net> <l2o6ui$pgm$1@dont-email.me>

Show all headers | View raw


On Sat, 05 Oct 2013 01:09:37 -0400, Norman Peelman wrote:

> On 10/04/2013 11:20 PM, richard wrote:

>> [woe is me, for I can't make php produce correct html]

> -or HEREDOC syntax-
>    Do what you like. My preference is to have my HTML (in code) look
> pretty close to what I expect to see in the browser (view source).

Mine too, it makes it a lot easier to debug broken html, and I think I 
probably don't generate as much broken stuff in the first place with 
heredoc, simply because there's less escaping etc needed.

I see Richard still hasn't learned to run his html through the validator, 
see where it fails to validate and track that back to his php code before 
bringing his broken html issues here though. And these are html issues, 
not php ones - his php is outputting the exact strings he's telling it 
to, he's just put duff content in those strings.

By the way, just as a fyi everyone, Richard has a clone called Nick in 
the python group.

(Am I allowed to say python here?)

-- 
Denis McMahon, denismfmcmahon@gmail.com

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


Thread

simple url problem richard <noreply@example.com> - 2013-10-04 23:20 -0400
  Re: simple url problem richard <noreply@example.com> - 2013-10-04 23:28 -0400
    Re: simple url problem The Natural Philosopher <tnp@invalid.invalid> - 2013-10-05 08:55 +0100
      Re: simple url problem Norman Peelman <npeelman@cfl.rr.com> - 2013-10-05 07:43 -0400
  Re: simple url problem Norman Peelman <npeelman@cfl.rr.com> - 2013-10-05 01:09 -0400
    Re: simple url problem Denis McMahon <denismfmcmahon@gmail.com> - 2013-10-05 18:29 +0000
      Re: simple url problem Tim Streater <timstreater@greenbee.net> - 2013-10-05 22:51 +0100

csiph-web