Search Webmaster Help and Solution

Looking for way to perform date(D)+1

I am trying to use SimpleXML to parse Yahoo weather data. I have everything working until the forecast. I am trying to take the three character day of the week and increase it so that I can pull data from the array.

Code: $yw_forecast[forecast][date(D)+1][day][0]; Running this code just generates 1. Any help would be greatly appreciated. I am trying to use SimpleXML to parse Yahoo weather data. I have everything working until the forecast. I am trying to take the three character day of the week and increase it so that I can pull data from the array.

Code: $yw_forecast[forecast][date(D)+1][day][0]; Running this code just generates 1. Any help would be greatly appreciated.

View Complete Thread with Replies

Related Items

Query failed: connection to localhost:3354 failed (errno=111, msg=Connection refused).