<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Find Odd Or Even Numbers</title>
	<atom:link href="http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/feed" rel="self" type="application/rss+xml" />
	<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers</link>
	<description>Learn PHP Online</description>
	<lastBuildDate>Fri, 23 Dec 2011 17:09:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: thangquoc</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-13015</link>
		<dc:creator>thangquoc</dc:creator>
		<pubDate>Mon, 29 Aug 2011 17:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-13015</guid>
		<description>using PHP&#039;s sort function
PS: I don&#039;t know the reason why i can&#039;t post full code :&#124;</description>
		<content:encoded><![CDATA[<p>using PHP&#8217;s sort function<br />
PS: I don&#8217;t know the reason why i can&#8217;t post full code <img src='http://www.learnphponline.com/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: subrata</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-12194</link>
		<dc:creator>subrata</dc:creator>
		<pubDate>Thu, 30 Jun 2011 12:53:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-12194</guid>
		<description>how to get a series of numbers in ascending order.
 
For Ex- $a = array(12, 34, 1, 45, 7, 8, 2, 356, 100, 113, 78, 13);

my question is that, how can i get it in this following manner

$a = 1, 2, 7, 8, 12, 13, 34, 45, 78, 100, 113, 356

like that.</description>
		<content:encoded><![CDATA[<p>how to get a series of numbers in ascending order.</p>
<p>For Ex- $a = array(12, 34, 1, 45, 7, 8, 2, 356, 100, 113, 78, 13);</p>
<p>my question is that, how can i get it in this following manner</p>
<p>$a = 1, 2, 7, 8, 12, 13, 34, 45, 78, 100, 113, 356</p>
<p>like that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EDWARD</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-3877</link>
		<dc:creator>EDWARD</dc:creator>
		<pubDate>Thu, 07 Oct 2010 23:22:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-3877</guid>
		<description>Thanks so much for the easy explaining =) very helpful</description>
		<content:encoded><![CDATA[<p>Thanks so much for the easy explaining =) very helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baseer</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-2086</link>
		<dc:creator>Baseer</dc:creator>
		<pubDate>Sat, 15 May 2010 08:57:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-2086</guid>
		<description>Its easy but if you provide some visual lesson then it will be more convenient for us</description>
		<content:encoded><![CDATA[<p>Its easy but if you provide some visual lesson then it will be more convenient for us</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sameer dhakal</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-1631</link>
		<dc:creator>sameer dhakal</dc:creator>
		<pubDate>Wed, 17 Feb 2010 18:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-1631</guid>
		<description>oh thanks</description>
		<content:encoded><![CDATA[<p>oh thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shakil</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-1423</link>
		<dc:creator>shakil</dc:creator>
		<pubDate>Wed, 13 Jan 2010 09:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-1423</guid>
		<description>i want to use a function and inside that function i have to use conditional operator so that i can get the even number that are divided by 2 with a remainder 0.
i have done but i can&#039;t get the exact output in echo command.
can anyone advise me?</description>
		<content:encoded><![CDATA[<p>i want to use a function and inside that function i have to use conditional operator so that i can get the even number that are divided by 2 with a remainder 0.<br />
i have done but i can&#8217;t get the exact output in echo command.<br />
can anyone advise me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthoni Raj</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-1079</link>
		<dc:creator>Anthoni Raj</dc:creator>
		<pubDate>Mon, 23 Nov 2009 04:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-1079</guid>
		<description>ur details r very good....</description>
		<content:encoded><![CDATA[<p>ur details r very good&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashish</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-717</link>
		<dc:creator>Ashish</dc:creator>
		<pubDate>Sun, 16 Aug 2009 19:35:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-717</guid>
		<description>Hi there, Can you provide a server to execute these codes ?</description>
		<content:encoded><![CDATA[<p>Hi there, Can you provide a server to execute these codes ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xgee</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-694</link>
		<dc:creator>xgee</dc:creator>
		<pubDate>Mon, 03 Aug 2009 00:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-694</guid>
		<description>hi - you need you use the variable $counter instead of $num on the if statement inside the for-loop.

&quot;if (is_odd($counter)) {&quot;</description>
		<content:encoded><![CDATA[<p>hi &#8211; you need you use the variable $counter instead of $num on the if statement inside the for-loop.</p>
<p>&#8220;if (is_odd($counter)) {&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob</title>
		<link>http://www.learnphponline.com/php-basics/find-odd-or-even-numbers/comment-page-1#comment-687</link>
		<dc:creator>Jakob</dc:creator>
		<pubDate>Wed, 29 Jul 2009 01:11:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.learnphponline.com/?p=33#comment-687</guid>
		<description>First a complaint, then a compliment.  7 % 2 = 1, not .5; You&#039;re confusing division with modulo (7 / 2 = 3.5).  With 7 modulo 2,  2 goes into 7, 3 complete times, with a remainder of 1.  Try it:  echo (7%2);  Also, i&#039;ve never seen someone explain binary quite as well, your graphics were very helpful in this purpose.  Good job.</description>
		<content:encoded><![CDATA[<p>First a complaint, then a compliment.  7 % 2 = 1, not .5; You&#8217;re confusing division with modulo (7 / 2 = 3.5).  With 7 modulo 2,  2 goes into 7, 3 complete times, with a remainder of 1.  Try it:  echo (7%2);  Also, i&#8217;ve never seen someone explain binary quite as well, your graphics were very helpful in this purpose.  Good job.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

