I have a site and am trying to add some functionality. I want to query mapquest to get addresses.
If I type this into the address bar:
http://yp.mapquest.com/main.adp?dircat=594712&diraction=search&dircity=Myrtle%20Beach&dirstate=SC&dirlat=336888&dirlong=%2d788869&dirzip=29578&dirmyaddr=&dirnamesearch=Gift%20Shops&dirreferer=&diraddress=&dirdma=356&_dirpid=
It will give me results that I need. Is there a way to use this URL in one of my scripts, like with an include, and print out the results to my page???
Just a thought I was having and wasn't sure if it could be done
Thanks for you help
http://www.php3.de/manual/en/function.fopen.php
$results=file("http://yp.mapquest.com/main.adp?di...ma=356&dirpid=");
$results no has the page in it ( its an array of lines ).
I've gotten this far, but now that you have the page in a string, how do you grab just the info you need and discard the rest?