Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If not using any templating like twig etc maybe just fully escape out so it not html in php but php in html? And opening closing tags are nice indicators to still keep some structure in code.
-
Froot75397yPeople used to put PHP in html.
Either way you do it, it feels like putting an egg in a gun or a gun in an egg. It's just wrong... how ever you choose to do it -
mundo0349117y@Froot well, I have the right to offend and you have the right to be offended.
Beyond that, nothing really matters.
Related Rants
Is it OK to put HTML code into PHP? I just did it and I feel like I'm doing a terrible abomination
rant
php
html
beginner