In the admin area, sometimes sloppy HTML code gets put in there and they don't put quotes around HTML attributes, ie:
This HTML is stored in a table in the database. How can I echo that HTML with quotes around attributes so it is like:HTML Code:<a href=www.imanidiot.com>I have no idea what I'm doing</a>
HTML Code:<a href="www.imanidiot.com">I have no idea what I'm doing</a>




Reply With Quote