Ver original<?php$f=date("Y-m-d");for( $i = 6; $i > 0; $i-- ){echo date("Y-m-d", strtotime("$f -$i day"))."<br>";}echo $f;?>