What is the purpose/point of echo, endif, and return? Also, whilst on this subject, why should I enclose values in " " when enclosing them in ' ' works just as well?
I know echo can be used in place of print, but why and when should I use echo over print?
endif is mentionned in passing all over the place in PHP documentation, along with something called MVC (Model-View-Controller software engineering), but does it have any purpose/use in everyday PHP website design?
return is something else that I tried to use, but the only thing it ever does is crash our website. - Is this similar to die() (which I have used successfully), or what?
- I have looked up the documentation on these and cannot find a proper answer on their use and/or how to properly implement them; hence my asking for help on clarifying these - I really do not want to be just another 'programmer' in my PHP as opposed to being an actual programmer, so knowing the answer to things like this is important to me.