Jump to content

darkfreaks

Members
  • Posts

    4,953
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Austin,Texas

darkfreaks's Achievements

Advanced Member

Advanced Member (4/5)

6

Reputation

  1. fixed it up for you, had several syntax errors causing issues also using count() instead of num_row() <?php $columns = 2; if(isset($_GET['member'])) { $display = ceil(count($_GET['member'])); $rows = ($display / $columns); while ($row = $display) { $data[] = $row; } echo "<table border='1'>"; for($i = 0; $i < $rows; $i++) { echo "<tr>"; for($j = 0; $j < $columns; $j++) { if(isset($data[$i + ($j * $row)])) { echo "<td>".$data[$i + ($j * $row)]."</td>"; $count = $count+1; } } echo "</tr>"; } } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.