|  | 
	                
  
    | 
	 
        คือผมต้องการให้แสดงวันที่ ตามที่เราได้เลือกไว้  ให้แสดงวันที่  ของแต่ละเดือนครับ  เช่นผมเลือก วันที่ 5 ก็ให้แสดงเฉพาะวันที่ 5 ไป 15 เดือน ประมาณนี้ครับ     |  
    |  |  
 
              
  
    | 
 
        
          |  |  |  |  |  
          |  |  | 
            
              | Code (PHP) 
 list( $year, $month, $day)=explode('-', date('Y-m-d'));
$day=5;
$curdate=mktime(0,0,0,$month-1, $day, $year);
for( $i=0; $i<15; $k++){
    echo date('Y-m-d', ($curdate=strtotime('+1 Month', $curdate) ) ), "<br>\n";
}
 |  
              | 
                
                  |  |  |  |  
                  |  | 
                      
                        | Date :
                            2014-12-07 19:27:23 | By :
                            Chaidhanan |  |  |  
                  |  |  |  |  |  |  |  
          |  |  |  |  |  
 
        
          |  |  |  |  |  
          |  |  | 
            
              | ขอบคุณมากๆ คราฟ 
 |  
              | 
                
                  |  |  |  |  
                  |  | 
                      
                        | Date :
                            2014-12-07 22:11:21 | By :
                            comfoy |  |  |  
                  |  |  |  |  |  |  |  
          |  |  |  |  |  |  |