data recovery in xml ?.


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]]>


  • <! [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 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?



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