OK gang! I have another stumper!
I want to add a variable to an array from within a function and I will not know the variables original name so how can I find this?
For instance:
function AddVariable($vartoadd)
{
$varlist[] = $vartoadd;
}
$domain = http://www.dodatingsiteswork.com;
AddVariable($domain);
Once I get into the function AddVariable(), I will not know that $domain is the name of the variable to add. How can I find the true name of the variable so that I can add that name to my array?
Thanks,
Pete