They have these same set jobs that reoccur every week and would like to 'click a button and enter them in'. So what i was thinking is create a form with the default values of the jobs required (this will allow them to remove/add jobs still) and have php get the date of monday-friday next week and enter them in on the days needed.
I've been modifying the following code to get the dates:
$tod=date("N")-2;
$mon=strtotime('+'.$tod.' days');
echo date('d M Y',$mon);Problem being if they insert the jobs on a wednesday or thursday the date for friday will be this weeks date and not the following.
Any idea's on how i could go about resolving this as i am kind of in a pickle.
~ Kam

Help


Back to top










