data recovery in xml ?.

Hello,

There you go, I am trying to add a function to retrieve a field (minia) when the article xml files that I feed when creating an article.

This is how it

looks : <? Xml version = "1.0" encoding = "UTF-8"?>

  • <! [CDATA [First article]]>

  • <! [CDATA [test]]>

    1

  • <! [CDATA [article.php]]>

  • <! [CDATA []]>

  • <! [CDATA [

This is an article created during the installation of PluXml. Edit it from the administration area.

]]>

  • <! [CDATA [PluXml]]>

I created a function in the class.plx.show.php file to be able to retrieve the field:

public function artImage () {
echo $ this-> plxMotor-> plxRecord_arts-> f ('minia');
}

Impossible to display what is in the field, on the other hand when I put, for example content or chapo, it is displayed well.

Do you have any idea why it is not showing up?

thanks
alexsunny

Réponses

Connectez-vous ou Inscrivez-vous pour répondre.