Re: Newcomer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux