<?php
   
if(is_numeric($_GET['timestamp']))
   {
      
$time $_GET['timestamp'];

      echo 
"<select name='day'>\n";
      echo 
"<option>Select Day</option>\n";

      for(
$count 7$count--; $time strtotime("+1 day"$time))
      {
         
$day date("D j M"$time);
         echo 
"\t<option value='{$time}'>{$day}</option>\n";
      }

      echo 
"</select>";
   }
?>