Concatenation with Blade in Laravel
lets say you are retrieving a single record 'task', and this record has variables called 'var1','var2','var3' ... all the way to 'var16'.
you can echo those variables in your blade file like so:
@for($y=1; $y<=16; $y++)
{{ $task->{'var'.$y} }}
@endfor
Try to do this:
{{ $rs->${$item.'_data'} }}
http://php.net/manual/en/language.variables.variable.php