Re: Newcomer

From: Date: Mon, 02 May 2005 15:46:53 +0000
Subject: Re: Newcomer
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-25953@lists.php.net to get a copy of this message
Barry Fawthrop wrote:
Thanks all Yes I have been slowly working through the manual, which has helped alot. I'm not sure on the issue raised, which is better A or B
This falls into the "religious" area of programming. There's a good discussion about templates going on over in php-general newsgroup right now. You can check the archives if you're interested in reading through it all.
(A) <?php echo "<html><body>.......</body></html> ?> or (B) <html><body><?php .... ?> xxxxx <?php .... ?> xxxx </body></html>
They both work so really it's a matter of what looks best to you / the code maintainer.

« previous php.windows (#25953) next »