getting rid of spaces
Posted on 2014-03-27
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>"