Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- echo '<table><tr>';
- $q = mysql_query('select ololo from links');
- $i = 0;
- while ($t = mysql_fetch_array($q)) {
- echo '<td>'. $t['link'] .'</td>';
- $i++;
- if ($i % 2 == 0)
- echo '</tr><tr>';
- }
- echo '</tr></table>';
- ?>
Add Comment
Please, Sign In to add comment