SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2002
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting stock info through XML

    Could anyone help me get stock info using xml ?
    (for example)
    http://quotes.nasdaq.com/quote.dll?p...ck&symbol=SUNW

    i need the current price printed out,
    its the <last-sale-price>9.48</last-sale-price> (today, tomarrow the price will probably change)

    all i need is the 9.48, or whatever number is in that field. any ideas ?

  2. #2
    Ribbit... Eric.Coleman's Avatar
    Join Date
    Jun 2001
    Location
    In your basement
    Posts
    1,268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Any chance you checked out the XML functions in PEAR?

    They might work, even though i'm not that familiar with it..
    Eric Coleman
    We're consentratin' on fallin' apart
    We were contenders, now throwin' the fight
    I just wanna believe, I just wanna believe in us


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •