How to display some XML datas in a php file ?

64 views
Skip to first unread message

Hatshepsout

unread,
May 7, 2012, 11:33:39 AM5/7/12
to Joomla! General Development
Hi all,

I would like to recover some data of the XML file to display them with
PHP :
<author> .....</author>
<version> ....</version>
etc

I've tried this :
[code]<?php echo $this->xml->version;?>[/code]
I've got this notice :
Notice: Trying to get property of non-object in C:\wamp\www\test-seo
\administrator\components\com_seowizard\views\seowizard\tmpl
\default.php on line 688

Any solution will be very appreciate but you should know that my
english is much better than my php .........;-).
Thanks in advance,

Regards,
Daniel

Hatshepsout

unread,
May 8, 2012, 2:06:37 AM5/8/12
to Joomla! General Development
Here the answer posted on the Joomla Forum : http://forum.joomla.org/viewtopic.php?f=642&t=716529

Thanks again to RedEye
Reply all
Reply to author
Forward
0 new messages