I have a variable called $file
, this is from a GET query. I need the variable $file_humanread
to be equal to whatever file is with humanname appended.
For example, if file is equal to 'test', I need the variable $file_humanread to be equal to $test_humanread, which is set already.
I've tried:
$file_humanread= $file, "_humanread"
But when I echo the variable it comes out as: _humanread
It should have echoed the contents of the variable $test_humanread, which is 'Foo Bar'