Hi @lerq
Can you give some examples of expected results for both 1 value checked and 3 values checked?
Will there ever be multiple values checked? Does each checked value create a new link? Or does it add to the 1 link url?
Perhaps all you are missing is the correct PHP syntax:
echo ' <a href="http://test/inhouse/' . $value . '">$value</a>';