[Solved] DOMDocument::loadXML(): AttValue: ” or ‘ expected in Entity, line:

PHP interacts with XML, reports an error, and prints an error

exception details:   system. XML. Xmlexception: error parsing entityname. Line 37, position 96

Found that XML cannot use special characters & amp < Add before transmitting content

htmlspecialchars function will do

 

Similar Posts: