Forum Moderators: coopster
I am able to set the variable and add to it, but a function called that should make addition additions to my variable aren't being represented.
function read(){
$file.="cd";
...
}
$file="ab";
read();
$file.="ef";
echo $file;
My script is running everything inside my custom function, so I know that function is running, however, any data written to $file is not being included.
What I expect "abcdef".
What I get "abef";
Any ideas? Thanks.