I need to generate imacro syntax for the user to be able to copy from the browser screen.
Since iMacro is using <SP>
for spaces I need to replace database values that have spaces with with <SP>
.
This isn't working because the browser recognizes <SP>
as HTML character.
$srtnew = str_replace(" ","<SP>",$string);
Any suggestions?