Are you a regular stikked user? Signup so you can keep track of your pastes!

RE: RE: Untitled

By Reliable Leech, 1 Year ago, written in PHP. This paste is a reply to RE: Untitled by Idiotic Ostrich
URL http://stikked.com/view/27824365
  1.                 <?php $rows=0;
  2.                         if ($rows==0)
  3.                         {
  4.                                 echo '<tr>';
  5.                                 $newrow = FALSE;
  6.                                 $closed = FALSE;
  7.                                 foreach($query->result() as $row)
  8.                                 {
  9.                                        $closed = FALSE;
  10.                                         if ($newrow){
  11.                                               echo "<tr>";
  12.                                         }
  13.                                         echo '<td class="bookmark"><a href="'.$row->bookmark_url.'" target="_blank" class="bkmrk"><img src="'.$row->bookmark_img.'" alt="google" class="imgbkmrk" />'.$row->bookmark_name.'</a></td>';
  14.                                         $rows++;
  15.                                         if($rows%3==0)
  16.                                         {
  17.                                                 echo '</tr>';
  18.                                                 $newrow = TRUE;
  19.                                                 $closed = TRUE;
  20.                                                 $rows=0;
  21.                                         }
  22.                                 }
  23.                                 if(!$closed)
  24.                                 {
  25.                                     echo "</tr>";
  26.                                 }
  27.                         } ?>

Reply to "RE: RE: Untitled"

Here you can reply to the paste above

Create a snipurl

Make Private

Feeling clever? Set some advanced options.