Organizational Research By

Surprising Reserch Topic

how do you make strings xmlsafe using -'php,xml,cakephp'


how do you make strings xmlsafe  using -'php,xml,cakephp'

I am responding to an AJAX call by sending it an XML document through PHP echos.  In order to form this XML document, I loop through the records of a database.  The problem is that the database includes records that have '<' symbols in them.  So naturally, the browser throws an error at that particular spot.  How can this be fixed?
    
asked Sep 8, 2015 by rajesh
0 votes
4 views



Related Hot Questions



Government Jobs Opening


...