Dinamic HTML page in RSS feed

software development

#1

I use the code above, but i don’t understand why if i call the XML page i don’t see the XML code but the content of the include page. I wuold have the HTML code of the include page in betweencontent:encoded



while($thisGal = mysql_fetch_array($galsResult)) {

?>

<?= htmlspecialchars($thisGal["galleryName"]) ?> http://<?= $_SERVER["HTTP_HOST"] ?><?= $thisGal["galleryUrl"] ?> ]]> <? } ?>

#2

Looks like you are mixing xml and php. Php has to have the long tag so it is not confused with xml. Instead of <?, use <?php.
Silk

My website