Am 04.10.12 02:48, schrieb David McGlone: > Hi everyone, I have been playing around with some code the list helped me > with > a while back and I'm not grasping the concept between return and echo and the > PHP manual doesn't answer this, unless I'm missing something. There is an > example at the very bottom of PHP's return manual, but it's confusing. Basically there is only difference, they have nothing in common.
http://de.php.net/echo echo --- Output one or more strings http://de.php.net/return If called from within a function, the /return/ statement immediately ends execution of the current function, and returns its argument as the value of the function call. /return/ will also end the execution of an eval() <http://de.php.net/manual/en/function.eval.php> statement or script file.
signature.asc
Description: OpenPGP digital signature