PHP Variable als Objektschlüssel verwenden
$nid_property = 'my_nid';
$nid = $row->{$nid_property};
jbirch8865
$nid_property = 'my_nid';
$nid = $row->{$nid_property};