tonelm54
asked on
Echo vs ?><?php html code
Ive been using echo and <?php ?> to put html out in my code, and it just looks messy when there is LOTs to output. So for example:-
Ive been looking around and some people suggest using a helper class to draw out html and build up the page. Just wondered what everyone else uses/does to export lots of html code in PHP.
echo "<body>This is a test</body>";
or?><body>This is a test</body><?php
Ive been looking around and some people suggest using a helper class to draw out html and build up the page. Just wondered what everyone else uses/does to export lots of html code in PHP.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER