Hey all its been a while.
Have a question is there a way to add more zones to the forecast say as a drop down
Example
and have it show the forecast for the
chosen Co. in wxforecast.php I can create the drop down just not sure how to link it correctly to follow the ($NOAAZone) will I have to create seprate pages for each?
Thanks, Feels good to be back here
Yep thats it just like that. I was afraid that I was going to have to create a lot of pages for this. Thanks drobbins
It is really not that much troubles. Just do a “save as” and change the zone.
Good to hear from you again.
Thanks, Did you have to do a septate .txt file as well for each
There would be a “forecastN.php” and a “advforecastN.php” and “forecastN.txt”
Replace the “N” in each of the files with a 1, 2, 3, etc… for how many forecasts you want to use.
forecast1.php advforecast1.php forecast1.txt is for the first forecast zone.
forecast2.php advforecast2.php forecast2.txt would be for the second forecast zone.
Etc…
If I remember correctly, each forecast has to be on it’s own page. If you put more than one forecast per page, it got confused and did not work correctly.
8O Sheeeeeez! A lot of work there…lol and to have it in the template I would have to create its own and include each advforecast.php i was hoping for something like this
- wxforecast.php?zone=MIZ060
- wxforecast.php?zone=MIZ061
each opens in the carter lake temp. when the link is clicked.