while($info=mysql_fetch_array($result)){  
          echo $info[indate]; 
  echo date("Y-m-d",((mktime($info[indate]))-(60*60*24))); 
        }