DOMDocument and UTF-8, a php charset problem
Posted on Sunday October 18th, 2009 by Matt
Today we’ll see how to manipulate DOM elements with php.
We’ll take for example a very useful function which is oddly kind of hard to find : how to add a specific attribute to some HTML elements.
This can be useful for example to add a rel=”nofollow” attribute to some links to let the search engines know [...]
