I have an three HTML documents that I will like to print (printf) from a PHP code. However, I don\'t want to add all the \"\\" manually for obvious reasons. Is there a small utility(i can see it done on the web) that given an HTML code, that will generate the HTML with the backslashes.
eg. (convert this
(\"<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" bgcolor=\"#990000\" width=\"400\" units=\"pixels\" align=\"center\">\");
to this:
printf(\"<table border=\\"0\\" cellspacing=\\"0\\" cellpadding=\\"0\\" bgcolor=\\"#990000\\" width=\\"400\\" units=\\"pixels\\" align=\\"center\\">\");
Thank You!
Al Shiferaw