|  | 
	                
  
    | 
	 
        เรียนสอบถามเกี่ยวกับการเขียน array หลายมิติครับ ในการ echo ออกมาครับผม     |  
    |  |  
 
	
		|  |  |  |  |  
		|  |  | 
          
            | array ( 'CamerasHash' => '1601067771711',
 'Cameras' =>
 array (
 0 =>
 array (
 'id' => '5f4e56e6796db447f5c40731',
 'ip' => '224.0.201.20',
 'port' => 1510,
 'protocol' => 'udp',
 ),
 1 =>
 array (
 'id' => '5f606efd796db459176c5a25',
 'ip' => '224.0.183.1',
 'port' => 1510,
 'protocol' => 'udp',
 ),
 2 =>
 array (
 'id' => '5f5f4ed7796db459176c32d6',
 'ip' => '224.0.105.5',
 'port' => 1000,
 'protocol' => 'udp',
 ),
 3 =>
 array (
 'id' => '5f606d0245475e1882870c38',
 'ip' => '224.0.16.1',
 'port' => 1510,
 'protocol' => 'udp',
 ),
 4 =>
 array (
 'id' => '5f64ae9545475e2fa8096cdb',
 'ip' => '224.0.107.10',
 'port' => 1510,
 'protocol' => 'udp',
 ),
 5 =>
 array (
 'id' => '5f4ee0d145475e6699d25aa4',
 'ip' => '224.0.201.10',
 'port' => 1510,
 'protocol' => 'udp',
 ),
 
 อยากจะเขียน output มันเรียงสวยๆนี้ทำไงหรือครับ ความเข้าใจยังน้อย
 
 
 
 Tag : PHP
 
 
 |  
            |  |  
            | 
              
                |  |  |  |  
                |  | 
                    
                      | Date :
                          2020-09-26 18:17:00 | By :
                          roommini | View :
                          816 | Reply :
                          2 |  |  |  
                |  |  |  |  |  
            |  |  
		            |  |  
		|  |  |  |  |  |