86

Person: "Shall I put PHP inside HTML or HTML inside PHP?"
Person: *sudo apt-get install nodejs*

Comments
  • 7
    sudo apt-get install ohHellNo
  • 8
    Npm install everything -g
  • 2
    if you plan to use node.js in every project.... then good luck with the deadlines
  • 0
    Sudo apt-get install node-legacy it is for me (or nodejs-legacy)
  • 0
    Sudo apt-throw php
  • 4
    Either <p><?php echo $something ?></p> or echo "<p>". $something. "</p>";

    Maybe that was the question :)
  • 1
    I'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.
  • 1
    Gotta nest that PHP in HTML.
    I hate dealing with Quote escape characters in echo statements
  • 0
    PHP 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.
  • 0
    Not using NVM should be a deathly sin
  • 1
    @cankarales echo "<p>$something</p>"; is even shorter ;-)
Add Comment