<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1033697" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1033697</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/inarray-multible-select-php#comment-1196538</link>
    <description> &lt;p&gt;I&#039;ve figuered out the problem and solve it. The way I did it before is going to take only the last result of the loop. I should take the result of the while loop and put into array.&lt;br /&gt;
so itshould be something like this:&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;$i&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$actaddname &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= array(); &lt;br /&gt;while (&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$i &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$num&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;) { &lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$actaddname&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[] = &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_result&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$query&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;&quot;actadd_name\&quot;); &lt;br /&gt;&amp;nbsp;&amp;nbsp; &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;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;The FALES != 0 is to solve a problem while using in_array function. Without FALSE !=0 it will ignore the first matching result and jump to second.&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
 </description>
     <pubDate>Sun, 02 Apr 2006 05:32:51 +0000</pubDate>
 <dc:creator>AYYASH</dc:creator>
 <guid isPermaLink="false">comment 1196538 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/inarray-multible-select-php#comment-1196467</link>
    <description> &lt;p&gt;One thing the leaps out at me is FALSE != 0, FALSE always equals 0 so it&#039;s never going to match anything.&lt;/p&gt;
 </description>
     <pubDate>Sat, 01 Apr 2006 10:09:42 +0000</pubDate>
 <dc:creator>GDVS</dc:creator>
 <guid isPermaLink="false">comment 1196467 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
