Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

To get the data in the xml in the url ( shown below) and then print the rates it to the screen and copy it to the mongodb collections.

php xml mongodb

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 ShebeerAhammed

ShebeerAhammed

    CC Lurker

  • Just Joined
  • Pip
  • 1 posts

Posted 14 April 2015 - 12:06 AM

SimpleXMLElement Object
(
[Cube] => SimpleXMLElement Object
(
[Cube] => SimpleXMLElement Object
(
[@attributes] => Array
(
[time] => 2015-04-13
)

[Cube] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => USD
[rate] => 1.0552
)

)

[1] => SimpleXMLElement Object
(
[@attributes] => Array
(
[currency] => JPY
[rate] => 127.20
)

)
)
)

I need to get the load the rates and print it and also need to copy it into mongodb collection. Somebody please help me on this . Thanks

 



#2 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 14 April 2015 - 04:30 AM

What code do you have so far?


Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#3 hancaonhan

hancaonhan

    CC Lurker

  • New Member
  • Pip
  • 5 posts

Posted 19 May 2015 - 01:56 AM

i don't understand?






Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download