SHAD Posted January 19, 2011 Posted January 19, 2011 Hey All Ok i am still at the bottom of the learning ladder, so please excuse my lack of knowledge, but what is the difference between returning a variable then printing or echoing it? Is their any advantages of return over print or echo? Quote
Djkanna Posted January 19, 2011 Posted January 19, 2011 Well whilst no one has given you a reply, I suggest reading the manual on return (http://php.net/return) it may give you an answer to why return is used (sometimes not all the time). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.