thirtyWest
New Coder
Hi,
Quite new at php and it's usefulness.
Needs:
0. i have an array of a BUNCH of zip codes that need to lookup their congressman;
1. go to this URL: https://ziplook.house.gov/zip/ziplook.html;
2. loops through the array and puts a zipcode into the field called "zip"; and then
3. presses the button named "zipsrch"; and
4. creates a new array the return info (it's just name, district, etc. about 5 things).
I've never done an interactive script before. The page is pretty basic. I can handle the looping syntax and such. I'm really confused about the CURL portion to 'talk' with the page.
Quite new at php and it's usefulness.
Needs:
0. i have an array of a BUNCH of zip codes that need to lookup their congressman;
1. go to this URL: https://ziplook.house.gov/zip/ziplook.html;
2. loops through the array and puts a zipcode into the field called "zip"; and then
3. presses the button named "zipsrch"; and
4. creates a new array the return info (it's just name, district, etc. about 5 things).
I've never done an interactive script before. The page is pretty basic. I can handle the looping syntax and such. I'm really confused about the CURL portion to 'talk' with the page.