<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001050" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001050</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/rows-and-cells-and-rows-and-cells#comment-1004509</link>
    <description> &lt;p&gt;Your problem is that&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;code:&lt;/p&gt;
&lt;pre&gt;
for $i (@images) { ... }
[/code]

Loops over the ACTUAL ELEMENTS of the array, as opposed to their indices.  I&#039;m not too sure what your code is supposed to do, because of that misunderstanding.

Here&#039;s a possible solution:

&lt;BLOCKQUOTE&gt;code:&lt;pre&gt;
for $img (@images) {
  print &quot;&amp;lt;tr&amp;gt;\n&quot; if !$c++;
  print &quot;&amp;lt;td&amp;gt;$img&amp;lt;/td&amp;gt;\n&quot;;
  $c = 0, print &quot;&amp;lt;tr&amp;gt;\n&quot; if $c == 4;
}
[/code]

------------------
-- 
MIDN 4/C PINYAN, NROTCURPI, US Naval Reserve &lt;/pre&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;/blockquote&gt;</description>
     <pubDate>Mon, 03 Apr 2000 12:17:00 +0000</pubDate>
 <dc:creator>japhy</dc:creator>
 <guid isPermaLink="false">comment 1004509 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/rows-and-cells-and-rows-and-cells#comment-1004508</link>
    <description> &lt;p&gt;Yes, I do have that...&lt;/p&gt;
&lt;p&gt;It is printing the other bits -- &lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;code:&lt;/p&gt;
&lt;pre&gt;
print &quot;&amp;lt;table border=0 cellpadding=0 cellspacing=0 bgcolor=\#ffffcc width=450&amp;gt;&quot;;
[/code]

Prints and so does:

&lt;BLOCKQUOTE&gt;code:&lt;pre&gt;
print &quot;&amp;lt;/table&amp;gt;\n&quot;;
[/code]

Which are the lines above and below the previous snip...

I am thinking there must be something wrong with the list (from my last post about how to get a multi-dimensional list read into the code), but I am at a loss.

I am getting no errors when testing, just nothing in between the table tags.

Ack!

 &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; Suzanne

------------------
&lt;a href=&quot;http://www.zerocattle.com&quot; class=&quot;bb-url&quot;&gt;Zero Cattle&lt;/a&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/&quot; class=&quot;bb-url&quot;&gt;Suzanne&lt;/a&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/index/celtic.html&quot; class=&quot;bb-url&quot;&gt;Tables DeMystified&lt;/a&gt; &lt;/pre&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;/blockquote&gt;</description>
     <pubDate>Sun, 02 Apr 2000 23:02:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1004508 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/rows-and-cells-and-rows-and-cells#comment-1004507</link>
    <description> &lt;p&gt;Make sure you have&lt;br /&gt;
print &quot;Content-type:text/html\n\n&quot;;&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://dlo.net/~rob/cgi-bin/l33t.cgi&quot; class=&quot;bb-url&quot;&gt;L34RN |-|0\/\/ T0 5P34K L33T JU5T L1K3 4N 40L |-|4X0R&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 Apr 2000 22:46:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1004507 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
