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 script that you can find here, although it may be more than you are looking for: http://www.devdump.com/phpxml.php I've written a DOMXML-based PHP -> XML function that takes Kris' structure as input, if you're interested. -- Matt Grimm Web Developer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Parkway Anchorage, AK 99508 907.770.6200 ext. 686 907.336.6205 (fax) E-mail: [EMAIL PROTECTED] Web: www.healthtvchannel.org "Chakravarthy Cuddapah" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] newbie ... Is it possible to format data in array to XML and display ? Thanks ! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php