Some different way to create a function...
I saw that the you are putting the variable to be change in entry in your function...
Thats good...
But dont forgot to return the value.
function xyz($change_var)
{
...
return($change_var);
}
when you call thise function
$variable_to_change=xyz($variable_to_change);
This is one way to call the function.
the second way is to declare the variable global in your function.
function xyz();
{
static $change_var;
}
In this case, no return is needed.
You can use $change_var every where in your PhP module.
To include a saved function, in the begin of your module, you can use :
require(/.../.../klm.php);
For information, you can also download the PhP manual at : www.php.net
Have Lot Of Fun...
André