0
What's the difference between "return" and "echo"
I'm little bit confused when to use "return" and "echo". What's the difference between "return" and "echo" when used in the function? thanks ahead!
2 odpowiedzi
+ 2
Basically you’ll want to use echo whenever you want to output something to the browser, and use return when you want to end the script or function and pass on data to another part of your script.
-googled
0
echo nd return are different