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.
$yw_forecast['forecast'][date('D')+1]['day'][0];
Running this code just generates ‘1’. Any help would be greatly appreciated.
date('D', strototime('tomorrow'))
This does not work either.
Basically I just need to determine what tomorrow’s three character day would be.