I am using this code (part of exporting rdf feed):
Code: Select all
$title = stripslashes($row['title']);
$title = "<title>" . htmlspecialchars($title,ENT_QUOTES) . "</title>\n";When I use it on webhosting (PHP 4.4.2) then it does not work.
Moderator: General Moderators
Code: Select all
$title = stripslashes($row['title']);
$title = "<title>" . htmlspecialchars($title,ENT_QUOTES) . "</title>\n";What happens?neoen wrote:When I use it on webhosting (PHP 4.4.2) then it does not work.
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="0.91">
<channel>
<title>Something</title>
<link>http://www.neco.cz</link>
<description>Something</description>
<item>
<title>Peter?s thing</title>