[56k Warn] php making xml with loop

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
enrique550
Forum Newbie
Posts: 1
Joined: Thu Apr 28, 2005 2:44 pm

[56k Warn] php making xml with loop

Post by enrique550 »

Look at this screenshot of my issue:

Image

I just need for php to create the exact xml structure I need.

The php blocks in (1), make the xml on (2) when there is one row, makes the xml on (3) when there are two rows, but what I want is (4), not (3).

How do I achieve this?

Thanks,

G
Post Reply