All you need to do is use global variables to transfer data from one function to another. For example:
<?php $name = ""; function myRecordHandlerA($record) { global $name; $name = $record["name"}; } function myRecordHandlerB($record) { global $name; // here you can use $name from handler A! } ?>
Hello Ron,
All you need to do is use global variables to transfer data from one function to another. For example:
<?php
$name = "";
function myRecordHandlerA($record)
{
global $name;
$name = $record["name"};
}
function myRecordHandlerB($record)
{
global $name;
// here you can use $name from handler A!
}
?>
Hope this helps,
Cheers,
David.