Advertisement
Guest User

Untitled

a guest
May 29th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. echo "<table border><tr>";
  2. $h = null;
  3. foreach ($this->paginator as $row)
  4. {
  5.     if ($h == null)
  6.     {
  7.         foreach ($row as $data => $tmp)
  8.         {
  9.             echo "<th>$data</th>";
  10.         }
  11.         $h = true;
  12.     }
  13.  
  14.     echo "<tr>";
  15.     foreach($row as $data)
  16.     {
  17.         echo "<td>$data</td>";
  18.     }
  19.     echo "</tr>";
  20. }
  21. echo "<table>";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement