Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

.phtml

There is usually no difference, as far as page rendering goes. It's a huge facility developer-side, though, when your web project grows bigger.

I make use of both in this fashion:

.PHP Page doesn't contain view-related code
.PHTML Page contains little (if any) data logic and the most part of it is presentation-related
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+3 =