right i am completely lost by this now but ill try.
the count2 is a second adding of days. ill explain this now.
and i added my last response to the wrong sodding thread so things are a little messed up now. ill start again by posting this. it might help
heres my full code for it.
$adddays = $count + $dueby; //count and dueby are 2 seperate numbers between 0-2. from what i can tell this bit works. they each have there own reason and are both needed.
then what i do is run an if statement and if the daydue is a saturday add two days, if its a sunday add one. this is set as $count2
$daydue = mktime(0,0,0,date("m"),date("d")+$adddays,date("Y"));
$duedate = date("Y/m/d", $daydue);
$furtherDate = strtotime($daydue . ' +' . $count2 . ' days');
$completeby2 = date("Y/m/d", $furtherDate);
then for some reason this $completeby2 = 1970-01-01.
anyone any ideas?
thanks for your help by the way, much appreciated