Re: php & html integration
| From: | Robert Cummings | Date: | Fri, 15 May 2009 12:41:44 +0000 |
| Subject: | Re: php & html integration | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292610@lists.php.net to get a copy of this message | ||
On Fri, 2009-05-15 at 05:42 -0400, Robert Cummings wrote:
> On Thu, 2009-05-14 at 17:24 -0700, Michael A. Peters wrote:
> > tedd wrote:
> >
> > >
> > > <h1>
> > > <?php echo("Hello World"); ?>
> > > </h1>
> > >
> > > and Hello World will be show as a H1 headline.
> > >
> > > Please note, the "()" seen in my use of echo is not necessary -- it's
> > > just another one of those things that I do that no one else does. It's
> > > not wrong, but it serves no purpose other than it looks good and makes
> > > sense *to me* YMMV.
> >
> > I do it that way as well.
>
> Me too... for require and include also.
Actually, I crossed mental threads there. I do echo without parenthesis
but use them on require and include.
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP