I am using this output from a radio array in a heredoc output
and wanted to add a font awseome icon to the variable output like
<i class=fa fa-eye></i> - however if I just use it in the heredoc its always present...and I just want it to appear whenver that radio choice is made - (I have other icons for the other choices and they should also swap if a different choice is made.
The idea is not to have any icons showing if a choice is not made, but if one is, then the icon for that choice will show with the variable data
Am I making any sense, I tried adding different types of strings inside the brakets/braces? but all it does is dispaly onscreen (not good) how would I go about getting specific icons to show depending on the radio chosen?