Is it possible to read array element using variable? I'd like to set $vid in one place depending on the configuration, and then use multiple times i.e. $detailrow["customfields1"]; I want to do this:
$vid = 1;
$detailrow["customfields$vid"];
But no response.
Tried:
$detailrow["customfields{$vid}"];
$detailrow['customfields'.$vid];
but result is the same.