This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 25th, 2010  |  syntax: PHP  |  size: 0.28 KB  |  views: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. echo'<table border="1" width="700">';
  2.  
  3. for( $i = $start; $i < $start+5; $i++ )
  4. {
  5.     echo'<tr>';
  6.     for( $j = 0; $j < $col; $j++ ) {
  7.         if( ! empty( $array[$j] ) ) {
  8.             echo '<td>'.$array[$j]['item_id'].'</td>';
  9.         }
  10.     }
  11.     echo'</tr>';
  12. }
  13.  
  14. echo'</table>';
clone this paste RAW Paste Data