  | 
              
	              
	                
  
    
	 
        ขอตัวอย่างการเขียนโค๊ดเลือกข้อมูลจาก select option แล้วแสดงข้อมูลที่เลือกด้วยครับ     | 
   
  
    |   | 
   
 
 
 
              
  
          
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 ขอดู Table หรือว่า Code หน่อยครับ ปกติจะใช้ประมาณนี้ 
 
Code (PHP) 
$strSQL= " SELECT * FROM table WHERE 1 ";
if($_POST["selOption"] != "")
{
	$strSQL .= " AND Col = '".$_POST["selOption"]."' ";
}
                        
               
               | 
             
            
              
			  			  
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2016-12-06 09:39:34 | 
                        By :
                            mr.win | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	     
	    
     
               
		
     
		
	     
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 สอบถามหน่อยครับ 
-ผมต้องการ เปิดข้อมูลในไฟล์ทั้งหมดใน Select ครับ แบบไม่ต้องเลือก พอมีวิธีไหมครับ 
  
 
ดังภาพ ครับ 1 คือข้อมูลใน Select  
2 คือเลือกข้อมูล :ซึ่งผมไม่ต้องการเลือก แต่จะเปิดทีเดียวทั้งหมดครับ  
3 คือข้อมูล ในไฟลนั้นๆ ครับ 
Code (PHP) 
<?php
$tep="";
   if($_POST["from"] != "")
           {
             $dir = 'DATA/'; 
             $exclude = array('.','..','.htaccess'); 
             $from = (isset($_POST['from']))? strtolower($_POST['from']) : ''; 
             $MT = opendir($dir); 
           
            
       while(false!== ($file = readdir($MT))) {
        $parts = explode(".", $file);                   
        if (is_array($parts) && count($parts) > 1) {   
            $extension = end($parts);  
                  
            if ($extension == "LEE" )   
                 {
               $T= substr($file,8);
               $B=chunk_split ( $T, "2", "/" );
               $R= str_replace("H0/","2021MC#",$B);
               $E= str_replace("/E."," - ",$R);
               $C= str_replace("/LE/E/"," LEE ",$E);
               $U= str_replace("/LH/A/"," LHA ",$C);
               $P= str_replace("/PC/M/"," PCM ",$U);
//print ($P);echo"<br>";
               $parts = explode("-", $P); 
          if(strpos(strtolower($P),$from)!== false &&!in_array($file,$exclude))
              {                        
      // if( preg_match('/^.{7}05.*/',$P, $dos)) //????????????
              ($tep.="<option value =\"$dir$file\"> $P</option>");
             }}}}}
//print($tep); echo"<br>";
           ?>
           
<td>
 <form method="post" >
   <font color="">Data File</font>
      <select name ="type" id="type"   required >
           <?php echo "($tep)";?></option>
      </select>
 <button name ="from" id="from"Value="<?php echo $_POST["from"];?>"  type="submit" >Summit</button>
 </body>
</form>
<?php
 $datafile=file($_POST["type"]);//?????????????? 
 for($i=0; $i<26; $i++){ ${'num'.$i}=array();} //???????????? array
              
 $i = 0;
      foreach ($datafile as $line){//??????????????
//echo ("$line");
 list($num1[$i],$num2[$i],$num3[$i],$num4[$i],$num5[$i],$num6[$i],$num7[$i],$num8[$i],$num9[$i],$num10[$i],$num11[$i],$num12[$i],$num13[$i],$num14[$i],$num15[$i],$num16[$i],$num17[$i],$num18[$i],$num19[$i],$num20[$i],$num21[$i],$num22[$i],$num23[$i],$num24[$i],$num25[$i]) = explode(',', substr($line,0));  //??????????? array 
        $num1[$i] = intval(substr($num1[$i],0,-2));
        $num18[$i] = intval($num18[$i]); //???? colum ??????????????
        $num19[$i] = intval($num19[$i]);
        $num20[$i] = intval($num20[$i]);
        $num21[$i] = intval($num21[$i]);
        $num22[$i] = intval($num22[$i]);
        $target1[$i] = 10;
        $target2[$i] = 20;
        $target3[$i] = 30;
    $i++;
 
}
 
 
ช่วยหน่อยครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-10 13:35:11 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 ไม่มีผู้รู้ เลยหรือครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-11 09:55:00 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 แล้วคุณสร้าง ลิสต์ ไฟล์ยังไงครับ เอาอันนั้นมา ลูป แสดงไฟล์เท่านั้น จากลูปแสดงลิสต์รายชื่อ 
 
คือโค๊ดทุกอย่างมันมีอยู่กับคุณแล้ว คุณทำไว้แล้ว 
ทั้งการอ่านชื่อไฟล์มาทำ ลิสต์ ทั้ง การอ่านไฟล์มาแสดง จะต้องมีใครบอกอะไรอีกล่ะครับ 
 
แค่คิดวิเคราะห์ลำดับการทำงานเท่านั้น                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-11 10:42:07 | 
                        By :
                            Chaidhanan | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	     
	    
     
               
		
     
		
	     
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                   ตอบความคิดเห็นที่ : 8 เขียนโดย : Chaidhanan เมื่อวันที่ 2021-04-11 17:41:42 
รายละเอียดของการตอบ ::
  Code (PHP)
ครับ code ทั้งหมด 
 <!DOCTYPE HTML>
<html>
 <head>
 <meta charset="utf-8">
  <link rel="stylesheet" href="//apps.bdimg.com/libs/jqueryui/1.10.4/css/jquery-ui.min.css">
  <script src="//apps.bdimg.com/libs/jquery/1.10.2/jquery.min.js"></script>
  <script src="//apps.bdimg.com/libs/jqueryui/1.10.4/jquery-ui.min.js"></script>
  <link rel="stylesheet" href="jqueryui/style.css">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
  <title>switch model</title>
  <?php
$MT="DATA/";
$tep ="";
$line="";        
$T="";
 ?>
 <body bgcolor ='000000'><table>
<tr><td>
<form method="post"  >
<select neam="pagelist" id="pagelist"class="search_box" onchange="submit()">
<option value="">-Select model-</option>
 <option value="LEE1.php" >LEE</option>
 <option value="PCM1.php">PCM</option>
 <option value="LHA1.php" >LHA</option>
</select>
 
  <script language="javascript">
  $("#pagelist").change(function(){
    //window.open( this.value, '_blank').focus(); //?????????????
    window.location.replace( this.value, '_blank').focus();
		
  });
</script>
</form></td><td>
<form method="post"  >
<select neam="top" id="top"class="search_box" onchange="submit()">
<option value="">-Select Top-</option>
 <option value="Top2E.php" >Top2</option>
 <option value="Top3E.php" >Top3</option>
 <option value="Top4E.php" >Top4</option>
 <option value="Top5E.php" >Top5</option>
 <option value="Top6E.php" >Top6</option>
 <option value="Top7E.php" >Top7</option>
 <option value="Top8E.php" >Top8</option>
 <option value="Top9E.php" >Top9</option>
 <option value="Top10E.php" >Top10</option>
 <option value="Top11E.php" >Top11</option>
 <option value="Top12E.php" >Top12</option>
 <option value="Top13E.php" >Top13</option>
 </select>
 
  <script >
  $("#top").change(function(){
    window.location.replace( this.value, '_blank').focus();
		
  });
</script>
</td>
<td>
<?php
$tep="";
   if($_POST["from"] != "")
           {
             $dir = 'DATA/'; 
             $exclude = array('.','..','.htaccess'); 
             $from = (isset($_POST['from']))? strtolower($_POST['from']) : ''; 
             $MT = opendir($dir); 
           
            
       while(false!== ($file = readdir($MT))) {
        $parts = explode(".", $file);                   
        if (is_array($parts) && count($parts) > 1) {   
            $extension = end($parts);  
                  
            if ($extension == "LEE" )   
                 {
               $T= substr($file,8);
               $B=chunk_split ( $T, "2", "/" );
               $R= str_replace("H0/","2021MC#",$B);
               $E= str_replace("/E."," - ",$R);
               $C= str_replace("/LE/E/"," LEE ",$E);
               $U= str_replace("/LH/A/"," LHA ",$C);
               $M= str_replace("/PC/M/"," PCM ",$U);
               $P= str_replace("#01","#13",$M);
               $P= str_replace("#01","#13",$M);
             
           //print ($P);echo"<br>";
               $parts = explode("-", $P); 
          if(strpos(strtolower($P),$from)!== false &&!in_array($file,$exclude))
              {                        
      // if( preg_match('/^.{7}05.*/',$P, $dos)) //????????????
      //sort($P);
      ($tep.="<option value =\"$dir$file\"> $P</option>");
    }}}}}
  ?>
</td>
<td>
<form name="frm_search" method="post">
      <input name="from" type="text" id="from" value="<?php echo $_POST["from"];?>"onchange="submit(this.form)">
      
    
 
</form></td>
<script>
  $(function() {
    $( "#from" ).datepicker({
     
      defaultDate: "+1w",
      changeMonth: true,
      numberOfMonths: 1,
      onClose: function( selectedDate ) {
        $( "#to" ).datepicker( "option", "minDate", selectedDate );
      }
    });
    $( "#to" ).datepicker({
      defaultDate: "+1w",
      changeMonth: true,
      numberOfMonths: 1,
      onClose: function( selectedDate ) {
        $( "#from" ).datepicker( "option", "maxDate", selectedDate );
      }
    });
  });
  </script>
</head>
</body>
<td>
<form method="post" action="" >
<font color="FFFFFF">Data file</font>
<select name ="type" id="type"   required >
           <?php echo ($tep);?></option>
          
</select>
<font color="FFFFFF">To</font>
<select name ="type1" id="type1"   required >
           <?php echo ($tep);?></option>
</select>
<font color="FFFFFF">To</font>
<select name ="type2" id="type2"   required >
           <?php echo ($tep);?></option>
</select>
<font color="FFFFFF">To</font>
<select name ="type3" id="type3"   required >
           <?php echo ($tep);?></option>
</select>
<button name ="from" id="from"Value="<?php echo $_POST["from"];?>" type="submit" >Summit</button>
</form></td>
</tr>
</table>
 
</body>
<?php
//echo ($tep);
 $datafile=file($_POST["type"]);//?????????????? 
 
 for($i=0; $i<26; $i++){ ${'num'.$i}=array();} //???????????? array
              
 $i = 0;
      foreach ($datafile as  $line){//??????????????
 list($num1[$i],$num2[$i],$num3[$i],$num4[$i],$num5[$i],$num6[$i],$num7[$i],$num8[$i],$num9[$i],$num10[$i],$num11[$i],$num12[$i],$num13[$i],$num14[$i],$num15[$i],$num16[$i],$num17[$i],$num18[$i],$num19[$i],$num20[$i],$num21[$i],$num22[$i],$num23[$i],$num24[$i],$num25[$i]) = explode(',', substr($line,0));  //??????????? array 
        $num1[$i] = intval(substr($num1[$i],0,-2));
        $num18[$i] = intval($num18[$i]); //???? colum ??????????????
        $num19[$i] = intval($num19[$i]);
        $num20[$i] = intval($num20[$i]);
        $num21[$i] = intval($num21[$i]);
        $num22[$i] = intval($num22[$i]);
        $target11[$i] = 10;
        $target21[$i] = 20;
        $target31[$i] = 30;
    $i++;
 
}
 $datafile=file($_POST["type1"]);//?????????????? 
 for($i=0; $i<26; $i++){ ${'Wap'.$i}=array();} //???????????? array
              
 $i = 0;
      foreach ($datafile as $line){//??????????????
 list($Wap1[$i],$Wap2[$i],$Wap3[$i],$Wap4[$i],$Wap5[$i],$Wap6[$i],$Wap7[$i],$Wap8[$i],$Wap9[$i],$Wap10[$i],$Wap11[$i],$Wap12[$i],$Wap13[$i],$Wap14[$i],$Wap15[$i],$Wap16[$i],$Wap17[$i],$Wap18[$i],$Wap19[$i],$Wap20[$i],$Wap21[$i],$Wap22[$i],$Wap23[$i],$Wap24[$i],$Wap25[$i],) = explode(',', substr($line,0));  //??????????? array 
        $Wap1[$i] = intval(substr($Wap1[$i],0,-2));
        $Wap18[$i] = intval($Wap18[$i]); //???? colum ??????????????
        $Wap19[$i] = intval($Wap19[$i]);
        $Wap20[$i] = intval($Wap20[$i]);
        $Wap21[$i] = intval($Wap21[$i]);
        $Wap22[$i] = intval($Wap22[$i]);
        $target1[$i] = 10;
        $target2[$i] = 20;
        $target3[$i] = 30;
    $i++;
 
}
$datafile=file($_POST["type2"]);//?????????????? 
 for($i=0; $i<26; $i++){ ${'tru'.$i}=array();} //???????????? array
              
 $i = 0;
      foreach ($datafile as  $line){//??????????????
 list($tru1[$i],$tru2[$i],$tru3[$i],$tru4[$i],$tru5[$i],$tru6[$i],$tru7[$i],$tru8[$i],$tru9[$i],$tru10[$i],$tru11[$i],$tru12[$i],$tru13[$i],$tru14[$i],$tru15[$i],$tru16[$i],$tru17[$i],$tru18[$i],$tru19[$i],$tru20[$i],$tru21[$i],$tru22[$i],$tru23[$i],$tru24[$i],$tru25[$i],) = explode(',', substr($line,0));  //??????????? array 
        $tru1[$i] = intval(substr($tru1[$i],0,-2));
        $tru18[$i] = intval($tru18[$i]); //???? colum ??????????????
        $tru19[$i] = intval($tru19[$i]);
        $tru20[$i] = intval($tru20[$i]);
        $tru21[$i] = intval($tru21[$i]);
        $tru22[$i] = intval($tru22[$i]);
        $target4[$i] = 10;
        $target5[$i] = 20;
        $target6[$i] = 30;
    $i++;
 
}
$datafile=file($_POST["type3"]);//?????????????? 
 for($i=0; $i<26; $i++){ ${'thw'.$i}=array();} //???????????? array
              
 $i = 0;
      foreach ($datafile as   $line){//??????????????
 list($thw1[$i],$thw2[$i],$thw3[$i],$thw4[$i],$thw5[$i],$thw6[$i],$thw7[$i],$thw8[$i],$thw9[$i],$thw10[$i],$thw11[$i],$thw12[$i],$thw13[$i],$thw14[$i],$thw15[$i],$thw16[$i],$thw17[$i],$thw18[$i],$thw19[$i],$thw20[$i],$thw21[$i],$thw22[$i],$thw23[$i],$thw24[$i],$thw25[$i],) = explode(',', substr($line,0));  //??????????? array 
        $thw1[$i] = intval(substr($thw1[$i],0,-2));
        $thw18[$i] = intval($thw18[$i]); //???? colum ??????????????
        $thw19[$i] = intval($thw19[$i]);
        $thw20[$i] = intval($thw20[$i]);
        $thw21[$i] = intval($thw21[$i]);
        $thw22[$i] = intval($thw22[$i]);
        $target7[$i] = 10;
        $target8[$i] = 20;
        $target9[$i] = 30;
    $i++;
 
}
$T= substr($_POST["type"],13);            
 $R= str_replace("H0",".#",$T);   
 $P= str_replace("E.LEE"," - ",$R);    
 
 $T= substr($_POST["type1"],13);
 $R= str_replace("H0",".#",$T);
 $P1= str_replace("E.LEE"," - ",$R);
 $T= substr($_POST["type2"],13);
 $R= str_replace("H0",".#",$T);
 $P2= str_replace("E.LEE"," - ",$R);
 $T= substr($_POST["type3"],13);
 $R= str_replace("H0",".#",$T);
 $P3= str_replace("E."," - ",$R);
//echo ("$P"); 
//unset($file_array) ; echo "<pre>" ;//?????????
//echo 'num0 = '; echo implode(',', $num1); echo '<br>';
 //echo '<br>'; echo 'Loadcell-1 = '; echo implode(',', $Wap19); echo implode(',', $num19); 
 //echo '<br>'; echo 'Loadcell-2 = '; echo implode(',', $Wap20);  echo implode(',', $num20); 
 //echo '<br>'; echo 'Loadcell-3 = '; echo implode(',', $Wap21);  echo implode(',', $num21);
 //echo '<br>'; echo 'Loadcell-4 = '; echo implode(',', $Wap22);   echo implode(',', $num22); 
 ?> 
<script src="https://code.highcharts.com/highcharts.js"></script>
   
<script>
 $(function () {
        $('#container').highcharts({
            chart: {
                type: 'line' //????????? ??????? ??????????????? line ????????   
            },
            title: {
              text: "<?= print "<br>" .$P.$P1.$P2.$P3;?>"//????????
            },
           
            yAxis: {
                title: {
                    text: 'Load cell value'
            },
             },
            tooltip: {
                enabled: false,
                formatter: function() {
                    return '<b>'+ this.series.name +'</b><br/>'+
                        this.x +': '+ this.y ;
    }
  },
   legend: {
          layout: 'vertical',
          align: 'right',
          verticalAlign: 'top',
          x: -0,
          y: 90,
         borderWidth: 0
  },
    plotOptions: {
          line: {
            dataLabels: {
              //enabled: true //????????????????????    
        },
                    enableMouseTracking: false
     }   
   },
            series: [{
                name: 'loadcell-1',
                color: '#0066FF',
                data: [<?= implode(',', $num19)?>.<?= implode(',', $Wap19)?>.<?= implode(',', $tru19)?>.<?= implode(',', $thw19)?>]
            }, {
                name: 'loadcell-2',
                color: '#FF6600',
                data: [<?= implode(',', $num20)?>.<?= implode(',', $Wap20)?>.<?= implode(',', $tru20)?>.<?= implode(',', $thw20)?>]
            }, {
                name: 'loadcell-3',
                color: '#33CC00',
                data: [<?= implode(',', $num21)?>.<?= implode(',', $Wap21)?>.<?= implode(',', $tru21)?>.<?= implode(',', $thw21)?>]
            }, {
                name: 'loadcell-4',
                color: '#990033',
                data: [<?= implode(',', $num22)?>.<?= implode(',', $Wap22)?>.<?= implode(',', $tru22)?>.<?= implode(',', $thw22)?>]
            }, {
                name: 'target : 10',
                color: '#FF0033',
                dashStyle: 'ShortDash',
                data: [<?= implode(',', $target11)?>&<?= implode(',', $target1)?>&<?= implode(',', $target4)?>&<?= implode(',', $target7)?>]
              }, {
                name: 'target : 20',
                color: '#FF0033',
                dashStyle: 'ShortDash',
                data: [<?= implode(',', $target21)?>&<?= implode(',', $target2)?>&<?= implode(',', $target5)?>&<?= implode(',', $target8)?>]
              }, {
                name: 'target : 30',
                color: '#FF0033',
                dashStyle: 'ShortDash',
                data: [<?= implode(',', $target31)?>&<?= implode(',', $target3)?>&<?= implode(',', $target6)?>&<?= implode(',', $target9)?>]
                
            }] // ?????? array ??? y
      });
    })
        </script>
    </head> 
<body>  
  
    <body bgcolor="#cccccc">
      <div id="container" style=" min-height: 96%; min-width: 1024px;width: 99%; height: auto; position: fixed;"></div>       
      <span>
</body>
<?php
//unset($file_array) ; echo '<pre>';  //?????????
 //echo 'num0 = '; echo implode(',', $num1); echo '<br>';
 //echo 'Loadcell-1 = '; echo implode(',', $num19); echo '<br>';
 //echo 'Loadcell-2 = '; echo implode(',', $num20); echo '<br>';
// echo 'Loadcell-3 = '; echo implode(',', $num21); echo '<br>';
 //echo 'Loadcell-4 = '; echo implode(',', $num22); echo '</pre>';
 ?> 
</html>
 
ผลลัพท์ ที่ได้ครับ คือผมไม่ต้องการ สร้า select เพื่อเลือกหลายอันอะครับ แต่ต้องการ ให้แสดงเลยทั้งหมดครับ 
                         
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-12 08:35:30 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	     
	    
     
               
		
     
		
	     
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 submit แล้ว err ครับ 
 
                         
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-19 21:08:07 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 ตอนนี้  
submit แล้วมาแต่ input แรกครับ input อื่นไม่แต่อะครับ 
 
พอมีวิธีช่วยไหมครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-19 21:26:31 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                   
 
แสดงแต่ input แรกอะครับ  
 
ขออาจาร์ยช่วยหน่อยครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-19 22:10:14 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 พอมีท่านใด ทราบไหมครับ 
 
ตันจริงๆ ครับ ข้อมูลใน $tep ไม่ใช่ array ที่กำหนดขึ้นมาครับ แต่เป็นสตริง ที่มาจาก folder ครับ 
พอทำแบบ list ไม่สามารถทำได้ครับ 
 
ขอความช่วยเหลือกน่อยครับ                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-20 22:09:05 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 สงสัย ข้อมูลนี้จะหายากจริงๆ 
 
ก้ขอบคุณครัช                        
               
               | 
             
            
              
			                              
                              
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2021-04-24 14:13:14 | 
                        By :
                            mini | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
      		  
	
     | 
   
 
                 |