<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1024276" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1024276</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148631</link>
    <description> &lt;p&gt;Ah, Chroder, nice, I&#039;ll try that sometime.&lt;/p&gt;
&lt;p&gt;Thanks for the input guys &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 31 Mar 2004 05:06:06 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1148631 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148620</link>
    <description> &lt;p&gt;array_slice returns the array, so you could just overwrite the old one with the new one&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt; $crazy &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(&lt;br /&gt;\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;apple\&quot;,&lt;br /&gt;\&quot;banana\&quot;,&lt;br /&gt;\&quot;coconut\&quot;,&lt;br /&gt;\&quot;duran\&quot;,&lt;br /&gt;\&quot;elephant\&quot;,&lt;br /&gt;\&quot;fire\&quot;,&lt;br /&gt;\&quot;gauze\&quot;&lt;br /&gt;); &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$crazy&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = array_slice(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$crazy&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;, 2);&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 31 Mar 2004 01:51:29 +0000</pubDate>
 <dc:creator>Chroder</dc:creator>
 <guid isPermaLink="false">comment 1148620 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148611</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$crazy &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array( &lt;br /&gt;\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;apple\&quot;, &lt;br /&gt;\&quot;banana\&quot;, &lt;br /&gt;\&quot;coconut\&quot;, &lt;br /&gt;\&quot;duran\&quot;, &lt;br /&gt;\&quot;elephant\&quot;, &lt;br /&gt;\&quot;fire\&quot;, &lt;br /&gt;\&quot;gauze\&quot; &lt;br /&gt;);&lt;br /&gt;&lt;br /&gt;for (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; = 0; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; &amp;lt; count(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$crazy&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;); &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;++) &lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt; &amp;gt; 4) unset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$crazy&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$i&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;# eh? that takes care of the first 5 you want&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;not sure if this works &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt; haha&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Mar 2004 23:24:16 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1148611 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148580</link>
    <description> &lt;p&gt;yeah but he&#039;d have to go in and do unset() for all the keys he doesn&#039;t want. it would be better if we knew what he was actually going to do with the array.&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Mar 2004 11:09:52 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1148580 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148579</link>
    <description> &lt;p&gt;_slice() returns a range, but doesn&#039;t delete the others. unset($arr[$key]) should remove the element, I think.&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Mar 2004 10:43:24 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1148579 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148578</link>
    <description> &lt;p&gt;maybe this would be more simpler to answer if we actually knew what you were doing. i don&#039;t see how the slice function didn&#039;t work. :/&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Mar 2004 10:35:04 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1148578 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148577</link>
    <description> &lt;p&gt;Not really, it seems to me that the array content still stays, I want it to be gone completely&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Mar 2004 10:09:22 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1148577 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/splitting-thread#comment-1148576</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://nz.php.net/manual/en/function.array-slice.php&quot; class=&quot;bb-url&quot;&gt;http://nz.php.net/manual/en/function.array-slice.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; Any good?&lt;/p&gt;
 </description>
     <pubDate>Tue, 30 Mar 2004 10:04:59 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1148576 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
