[PHP] Re: array data

2004-02-11 Thread memoimyself
Hello Imran, On 12 Feb 2004 at 1:17, Imran Asghar wrote: > Hi, > > Is not working, is it correct way > > File1.php > > > > > > File2.php > > echo $colors[0]; > echo $colors[1]; > echo $colors[2]; > echo $colors[4]; > ?> > > > > imee > I'm afraid

[PHP] Re: array data

2004-02-11 Thread pete M
Think this is what u want Imran Asghar wrote: Hi, Is not working, is it correct way File1.php $v { ?> File2.php echo $colors[1]; echo $colors[2]; echo $colors[4]; ?> imee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] Re: array data to XML

2003-12-24 Thread Manuel Lemos
Hello, On 12/24/2003 02:44 PM, Chakravarthy Cuddapah wrote: Is it possible to format data in array to XML and display ? This class seems to do what you want. It requires DOM XML extension. Class: XML Array http://www.phpclasses.org/xmlarray You may also want to try this class for generating XML d

[PHP] Re: array data to XML

2003-12-24 Thread Matt Grimm
Of course. If it's a simple (short) array, you can just create a string with the XML tags and array values, and write that to a file with an XML extension. More sexy would be to use the DOMXML functions in PHP. http://us3.php.net/manual/en/ref.domxml.php Guy named Kris wrote a great XML -> PHP s