PHP Warning: DOMDocument::loadHTML(): htmlParseEntityRef: expecting ‘;’ in Entity, line: 2416
If you’re trying to parse the results of a webpage, either remotely or locally, you may have run into this error. If you’re trying to iterate over the html elements, the DOM Document may be a good choice for you. It easily allows you to select all the document elements that match your search. IE, you can select all bolded elements and find out what is bolded. The php code below is a simple way to load html into the DOM...
Read More