![]() |
|
|
#1 |
|
Junior Member
Join Date: Aug 2007
Posts: 20
Rep Power: 0
![]() |
php xml
hello there,
i m trying to read from a xml file correctly. well it's not working at all ![]() http://nopaste.codersnet.org/pastes.php?view=205 this is the xml file. i m using simplexml and i tried to get all data from it. it works! BUT have a look at the <nocreation> tags. there are three in each riddle tag. so i decided to make it like this: PHP Code:
greetings chnum |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Aug 2007
Posts: 20
Rep Power: 0
![]() |
Re: php xml
finally i found out what the error was. the second foreach loop has to be like this:
PHP Code:
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|