I have some code that I am trying to use for a link. However, the spaces are messing up that link. How can I get rid of them?
I tried this but my code just errors out.
+ "<br> <a href=" + str_replace(" ", "%20", graphic.attributes.SAPALINK) + ">SAPA Report</a>"