What is the differance between " echo" and "print" ?

An obvious noob question I’m sure but having read the manual pages on both and digested as much of each as I am able I cannot see the differance which leads to my next questions. If they are not the same why are they two differant statements? When should one be used as opposed to the other?

Thanks
ikan

You should find your answer amongst these:

http://stackoverflow.com/questions/1647322/whats-the-difference-between-echo-print-and-print-r-in-php
http://stackoverflow.com/questions/234241/how-are-echo-and-print-different-in-php
http://stackoverflow.com/questions/7094118/reference-comparing-phps-print-and-echo

Thanks Smokey. I did find understandable answers behind the links posted.

ikan

Sponsor our Newsletter | Privacy Policy | Terms of Service