Hi,
I have a little problem understanding the returning of values from a function, for example:
<?php
function hello($name){
$a = echo "Hello $name";
return $a;
}
?>
I know that would return the value of $a, but i've seen some functions that have a return true or return false, and there is where i get lost. Why use return false or return true ???? 😕 , What would that do ???
Thanks and sorry if my english is not great.