I'm getting dynamically the name of some File arrays, I can print the complete array, using
print_r($$n_v);
Output:
Array ( [name] => 5.docx [type] => application/vnd.openxmlformats-officedocument.wordprocessingml.document [tmp_name] => /tmp/php1cs872 [error] => 0 [size] => 14061 )
But if I try to do
print $$n_v['name'];
It don't works, how can I get the values of that array?
$data[$n_v]['name']. That's much saner in the long run.