Hello all,
i have been searching and now i am coming here to ask for some help.
can i use a php function in bind_param? If so, how can i go about doing it?
my function does have a return in it rather than an echo and when i echo the variable the function is bound to, it works.
$test = calc($var1,$var2);
echo $test;
function calc($var1,$var2) {
blah blah
return $somevar;
}