Jump to content

pull data from another site..


markvaughn2006

Recommended Posts

i'm fairly fluent in php but don't really know where to even start with this....so please don't bite my head off for not posting code  :-\ i just need a point in the right direction

 

Example: if a user types in MSFT i need to be able to go to http://www.google.com/finance?q=msft (i know how to do this part) but then i need to be able to return just the price which in the source of that page is..

 

<span class="pr">

<span id="ref_358464_l">29.77</span>

 

so i just need to have it so a user types in MSFT on my site and it goes to http://www.google.com/finance?q=msft, grabs the price ($29.77) and spits it out all on my site without the user actually being sent to google finance, a point in the right direction would be greatly appreciated!!!! love you guys, lifesavers!!

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/196386-pull-data-from-another-site/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.