[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 ? $colors = array('red','blue','green','yellow'); ? form action=file2.php method=post input type=hidden type name=colors value=?=$colors? /fomr ?php $colors =

[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 ? $colors = array('red','blue','green','yellow'); ? form action=file2.php method=post input type=hidden type name=colors value=?=$colors? /fomr

[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

[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