OK, I found a partial answer about getting a function to recognize the NAME of the variable passed and not just the value, but it doesn't make me completely happy, cause it's a workaround. You can pass a variable by REFERENCE.
$start = "7/2/2002";
function changeit($theValue){
$theValue = "July 2nd, 2002";
return "good date";
}
echo "date is $start<BR>";
$report = changeit(&$start);
echo "now date is $start<BR>";
This way, I return a value to $report and change the date as well.
However, I would really like to have access in the function somewhere to know that the actual variable name I passed was called "start" -- is there any way to do this? Makes sense there's some way.
Sam Fullman
Compass Point Media.