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
-
zankar20758yEither <p><?php echo $something ?></p> or echo "<p>". $something. "</p>";
Maybe that was the question :) -
Noob64668yI'm still not sure what I prefer for my message board app at work so I wrote two version and use both MEAN and LAMP.
-
johnDoe32338yGotta nest that PHP in HTML.
I hate dealing with Quote escape characters in echo statements -
JTBringe6098yPHP inside HTML anytime.
For me it's a lot cleaner to read look at, but ultimately it's personal preference. The end result is the same.
Related Rants
Person: "Shall I put PHP inside HTML or HTML inside PHP?"
Person: *sudo apt-get install nodejs*
undefined
:/