Wrox Programmer Forums
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 11th, 2004, 12:41 PM
Registered User
 
Join Date: Dec 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to macromotion Send a message via MSN to macromotion
Default read and wrie XML

Hi all, i am new in forum, i baught the professional PHP4, i have the .php, he write all ip's in one .txt. I need, he write the XML, but, have the structure.

?xml version="1.0" encoding="UTF-8" ?>
<master>
<ip>
127.0.0.1
</ip>
<ip>
127.0.0.1
</ip>
</master>

I know, write the lines <ip>127.0.0.1</ip> in xml, but he need to close the last tag "</master>", how do i do i close the tag with php?

Tanks






Similar Threads
Thread Thread Starter Forum Replies Last Post
DTS Package, XML task. Read XML file and store it Victoria SQL Server DTS 0 July 24th, 2006 02:43 PM
Read a XML element value chandler7272 C# 0 June 15th, 2006 02:55 AM
XSLT read through XML to transform another XML dendenx2 XSLT 8 July 7th, 2005 08:18 PM
I Need to Read an Xml from String anand_asv XML 3 March 18th, 2005 12:04 AM
read xml q8z Beginning VB 6 1 October 23rd, 2004 01:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.