Re: [PHP] Auto-generating HTML

2010-09-21 Thread tedd
At 2:56 PM -0400 9/20/10, Andy McKenzie wrote: Hey folks, I have the feeling this is a stupid question, but I can't even find anything about it. Maybe I'm just not searching for the right things. Here's the problem. I'm writing a lot of pages, and I hate going in and out of PHP. At the s

RE: [PHP] Auto-generating HTML

2010-09-21 Thread Bob McConnell
From: Andy McKenzie > I think the main thing I'm seeing is that there isn't a single, > accepted, simple way to do this: no matter what I do, it will be a > workaround of some type. Either I'm adding complexity (a function to > convert everything), or I'm adding lines (heredoc/nowdoc seem to > r

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Andy McKenzie
On Tue, Sep 21, 2010 at 3:32 AM, Simcha Younger wrote: > On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > > >> Hey folks, >> >>  Here's the problem.  I'm writing a lot of pages, and I hate going in >> and out of PHP.  At the same time, I want my HTML to be legible.  When >> you look at it, that

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Richard Quadling
On 20 September 2010 19:56, Andy McKenzie wrote: > Hey folks, > >  I have the feeling this is a stupid question, but I can't even find > anything about it.  Maybe I'm just not searching for the right things. > >  Here's the problem.  I'm writing a lot of pages, and I hate going in > and out of PHP

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Benjamin Hawkes-Lewis
On 20 Sep 2010, at 22:02, Bastien Koert wrote: > The standard suggests that double quotes are to be used for HTML > attributes. Where? -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto-generating HTML

2010-09-21 Thread Simcha Younger
On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > Hey folks, > > Here's the problem. I'm writing a lot of pages, and I hate going in > and out of PHP. At the same time, I want my HTML to be legible. When > you look at it, that's kind of a problem, though... for instance > (assume this had

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Bastien Koert
On Mon, Sep 20, 2010 at 4:52 PM, Andy McKenzie wrote: > Here's a related question maybe one of you can answer:  is there any > place in HTML (not PHP, but actually in HTML) where there's a > difference between a single quote and a double quote?  As nearly as I > can tell, it shouldn't ever matter.

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
Here's a related question maybe one of you can answer: is there any place in HTML (not PHP, but actually in HTML) where there's a difference between a single quote and a double quote? As nearly as I can tell, it shouldn't ever matter. If that's the case, using double-quotes to enclose an echo ge

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
On Mon, Sep 20, 2010 at 3:59 PM, Peter Lind wrote: > On 20 September 2010 21:56, Andy McKenzie wrote: >> On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote: >>> On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > Hey f

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Peter Lind
On 20 September 2010 21:56, Andy McKenzie wrote: > On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote: >> On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: >>> >>> On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: >>> >>> > Hey folks, >>> > >>> >  I have the feeling this is a stupid quest

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
On Mon, Sep 20, 2010 at 3:50 PM, Rick Pasotto wrote: > On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: >> >> On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: >> >> > Hey folks, >> > >> >  I have the feeling this is a stupid question, but I can't even find >> > anything about it.  Maybe I

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Andy McKenzie
On Mon, Sep 20, 2010 at 3:47 PM, Steve Staples wrote: > On Mon, 2010-09-20 at 14:56 -0400, Andy McKenzie wrote: >> Hey folks, >> >>   I have the feeling this is a stupid question, but I can't even find >> anything about it.  Maybe I'm just not searching for the right things. >> >>   Here's the pro

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Rick Pasotto
On Mon, Sep 20, 2010 at 03:02:35PM -0400, TR Shaw wrote: > > On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > > > Hey folks, > > > > I have the feeling this is a stupid question, but I can't even find > > anything about it. Maybe I'm just not searching for the right things. > > > > Here's

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Steve Staples
On Mon, 2010-09-20 at 14:56 -0400, Andy McKenzie wrote: > Hey folks, > > I have the feeling this is a stupid question, but I can't even find > anything about it. Maybe I'm just not searching for the right things. > > Here's the problem. I'm writing a lot of pages, and I hate going in > and

Re: [PHP] Auto-generating HTML

2010-09-20 Thread a...@ashleysheridan.co.uk
He just said that's what he didn't want to do! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "TR Shaw" Date: Mon, Sep 20, 2010 20:02 Subject: [PHP] Auto-generating HTML To: "Andy McKenzie" Cc: "PHP General list" On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote:

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Paul M Foster
On Mon, Sep 20, 2010 at 02:56:47PM -0400, Andy McKenzie wrote: > Hey folks, > > I have the feeling this is a stupid question, but I can't even find > anything about it. Maybe I'm just not searching for the right things. > > Here's the problem. I'm writing a lot of pages, and I hate going i

Re: [PHP] Auto-generating HTML

2010-09-20 Thread a...@ashleysheridan.co.uk
Have you looked at heredoc and nowdoc in the manual? They could be what you're after, as they preserve the output in the way you write it. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Andy McKenzie" Date: Mon, Sep 20, 2010 19:56 Subject: [PHP] Auto-generating HTM

Re: [PHP] Auto-generating HTML

2010-09-20 Thread Marc Guay
What sort of results do you get with echo " Page Title This is the page body "; or similar? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Auto-generating HTML

2010-09-20 Thread TR Shaw
On Sep 20, 2010, at 2:56 PM, Andy McKenzie wrote: > Hey folks, > > I have the feeling this is a stupid question, but I can't even find > anything about it. Maybe I'm just not searching for the right things. > > Here's the problem. I'm writing a lot of pages, and I hate going in > and out of