Hi,

This has been driving me crazy:eek: as it is such a small bit of code.

What I want to do is extract a price from a website using php and xpath codes.

this is the url

http://www.fishpond.co.nz/Books/Home_Garden/Crafts_Hobbies/Games/General/product_info/335760/

this is the xpath that xpath checker in Firefox gave me.

/html/body/table[1]/tbody/tr/td[2]/form/table/tbody/tr[1]/td/div/span[1]

can someone please post some code that will do that......I tried lots of examples but can't find one that is like this using html as the input....

Thank you.
Brendan

    Write a Reply...