I have created a php method that should return a char string. I verified the value inside the method, hwever I do not get a return.
Code example
{age}=calc_age($birthDay)
I use “Definition of the parameters of the method:” to define the $birthDay parameter.
method: calc_age
{
…
return $age;
}
Most probably it is a simple problem, but I seem not to see the solution.
Many thanks for help