The script basically show me 2 weeks ahead from the day im on. so right now it would show me from Tuesday to Tuesday in 2 weeks.
code i have:
Code: Select all
#create table headers
function createTableHeaders($value, $value1, $value2) {
echo "<tr>";
$dV = $value2;
for ($i = $value; $i < $value1; $i++) {
echo "<th>".date('D dS M', time()+$dV)."</th>";
$dV = $dV + 86400;
}
echo "</tr>";
}Can anyone help me to to get rid of saturday and sunday ??
Rippie