Did you try escaping the special characters ?
sql = "SELECT `professional_notes`.`Id`
FROM `professional_notes`
WHERE
(NoteContent = 'drefhtpsna8ma0JC0000008WKqSMAWJ001377 [Direct HR | Dummy Job Test For Track Job Note | Ningbo, Zhejiang, China] na8salesforcecoma0KC0000004O4abMACC079175 [Bob Luo | b.luo@directhr.de | +86 000 0000 0000]'
)
LIMIT 1";
When I execute it via $db->query the browser leads to some interupted connection page, not throw any error.
I think that this issue cause by special characters in content of field 'NoteContent '. Because when I remove some characters, It execute success.
How resolved it?
Did you try escaping the special characters ?
Learn Zend Framework Online/Offline - Visit Zend Framework Training