24Oct/12Purposeofthispostseriesistogiveafewtipsonhowtoimproveyourcode.It'snotthemostimportantpractices,butsomecommonthingstoseedoneinalessthanelegantway.Foraddingdaysorweekstoatimestamp,don'tcountyourseconds.DON'T:$nextDay=$todayTimestamp+86400;DO:$nextDay=strtotime('+1day',$todayTimestamp);Thefirstonewillfailwhenyoumoveintooroutofdaylightsavingstime.Anextraproisthatthesecondexampl...