Advertisement
Pass89

array

Apr 2nd, 2024
695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.37 KB | None | 0 0
  1. $sample = array(
  2.     ['id'=> '1', 'name'=>'a.view'],
  3.     ['id'=> '2', 'name'=>'a.delete'],
  4.     ['id'=> '3', 'name'=>'b.view'],
  5.     ['id'=> '4', 'name'=>'b.delete'],
  6. );
  7.  
  8. // mau ditampilkan dalam bentuk tabel
  9.  
  10. <table>
  11.     <tr>
  12.         <td>a.view</td>
  13.         <td>a.delete</td>
  14.     </tr>
  15.     <tr>
  16.         <td>b.view</td>
  17.         <td>b.delete</td>
  18.     </tr>
  19. </table>
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement