simplexml_load_string equivalent in php4

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
kimberly
Forum Commoner
Posts: 31
Joined: Tue Apr 21, 2009 12:48 pm

simplexml_load_string equivalent in php4

Post by kimberly »

Hi, me again! :banghead:

After painfully getting my code to work locally in PHP5, I now have to re-write it for PHP4 on the server. :cry:
Thanks for the help so far and I have made progress.
I am now stuck trying to get the response string into an XML object.

In PHP5, I used simplexml_load_string.
Can anyone please tell me what to use in PHP4?

I saw a similar thread, but the answer didnt give me enough info.

thanks in advance!
Kimberly
kimberly
Forum Commoner
Posts: 31
Joined: Tue Apr 21, 2009 12:48 pm

Re: simplexml_load_string equivalent in php4

Post by kimberly »

I think this might be working:
$xml = domxml_open_mem($result)

but now I need to get the elements out of there....
Post Reply