Paste Search Dynamic
Recent pastes
Ogr array
  1. <?php
  2. $Ogr = array();
  3.   $Ogr[0] = array("10","ozi","ozi@gmail.com", "1111111111");
  4.   $Ogr[1] = array("11","iso","iso@gmail.com", "22222222222");
  5.   $Ogr[2] = array("12","hamzo","hamzo@gmail.com", "333333333333");
  6.   $Ogr[3] = array("13","mert","mert@gmail.com", "44444444444");
  7.   $Ogr[4] = array("14","pln","pln@gmail.com", "5555555555");
  8. ?>
  9. <?php
  10. echo "<table border='1'>";
  11.     echo "<th>ID";
  12.     echo"</th>";
  13.     echo "<th>Name";
  14.     echo"</th>";
  15.     echo "<th>Email";
  16.     echo"</th>";
  17.     echo "<th>Phone";
  18.     echo"</th>";
  19. foreach ($Ogr as $ogr){
  20.   echo "<tr>";
  21.  
  22.     foreach ($ogr as $blg){
  23.         echo "<td>" . $blg . "</td>";
  24.  
  25.  
  26.  
  27.     }
  28.     echo "<td>Edit</td>";
  29.     echo "<td>Delete</td>";
  30.     echo "</tr>";
  31. }
  32. echo "</table>";
  33. echo date('d F Y l');
  34. ?>
  35.  
Parsed in 0.027 seconds