Login
Register
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Login
Register
Posting a simple example
Search
All class groups
Latest entries
Top 10 charts
Blog
Forums
Shop
Help
Recommend
this page to a friend!
Adv XML to Array
>
All threads
>
Posting a simple example
>
(Un) Subscribe thread alerts
Subject:
Posting a simple example
Summary:
Simple example. Adv XML to Array
Messages:
3
Author:
Martin Fasani
Date:
2005-09-07 13:15:23
Update:
2009-12-20 10:42:17
1. Posting a simple example
Reply
Report abuse
Martin Fasani - 2005-09-07 13:15:23
<?php
//Include the class
require("classxml2array.php");
//Create the object :
$x = new xml2array("tournaments.xml");
//Fill the array
$result= $x->getResult();
print_r ($result);
?>
Nice class Bastian :)
2. Re: Posting a simple example
Reply
Report abuse
tiPat - 2006-07-26 12:49:42 -
In reply to
message 1
from Martin Fasani
Hi
I get the error :
Notice: Undefined property: xml2array::$root_element in class.xml2array.php on line 96
Can you help me ?
3. Re: Posting a simple example
Reply
Report abuse
anshu - 2009-12-20 10:42:17 -
In reply to
message 1
from Martin Fasani
Thanks Its really nice example.
Can you Also put forward example of array2xml class?
I am using as
require ('class.array2xml.php');
$y = new xml2array($result);
$resulty = $y->getResult();
echo $resulty;
But its NOT working :(
About us
Advertise on this site
Site map
Newsletter
Statistics
Site tips
Privacy policy
Contact
Copyright (c)
Icontem
1999-2025
For more information send a message to
info at phpclasses dot org
.
image/svg+xml
image/svg+xml
Contact us using Messenger