<?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: Create a game with PHP (Part 1)</title>
	<atom:link href="http://www.bestselling.im/create-a-game-with-php-part-1/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bestselling.im/create-a-game-with-php-part-1</link>
	<description>Free PHP tutorial</description>
	<lastBuildDate>Tue, 22 Dec 2009 08:37:34 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: crazymanny00</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1149</link>
		<dc:creator>crazymanny00</dc:creator>
		<pubDate>Mon, 23 Nov 2009 15:33:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1149</guid>
		<description>nice vid man! :D</description>
		<content:encoded><![CDATA[<p>nice vid man! <img src='http://www.bestselling.im/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lifeg0eson666</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1148</link>
		<dc:creator>lifeg0eson666</dc:creator>
		<pubDate>Mon, 23 Nov 2009 15:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1148</guid>
		<description>You don&#039;t have to check if a function equals TRUE or FALSE. If it&#039;s true if(isset($_GET[&#039;item&#039;])) works the same if you checked if it&#039;s equal to true. And when it comes to false you can just use if(!in_array($item,$items)) instead of checking if it actually returns false. The exclamation point will do the same. And since the isset function checks if the variable EXISTS, it does not check if it has a value. You can do $item = $_GET[&#039;item&#039;] and as long ?item= is in the URL it will return true.</description>
		<content:encoded><![CDATA[<p>You don&#8217;t have to check if a function equals TRUE or FALSE. If it&#8217;s true if(isset($_GET['item'])) works the same if you checked if it&#8217;s equal to true. And when it comes to false you can just use if(!in_array($item,$items)) instead of checking if it actually returns false. The exclamation point will do the same. And since the isset function checks if the variable EXISTS, it does not check if it has a value. You can do $item = $_GET['item'] and as long ?item= is in the URL it will return true.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lifeg0eson666</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1147</link>
		<dc:creator>lifeg0eson666</dc:creator>
		<pubDate>Mon, 23 Nov 2009 15:02:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1147</guid>
		<description>If you do if($_GET[&#039;item&#039;]) that checks to see if it exists and HAS a value. This method is generally more efficient than using isset</description>
		<content:encoded><![CDATA[<p>If you do if($_GET['item']) that checks to see if it exists and HAS a value. This method is generally more efficient than using isset</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScoobyDooobyD00</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1146</link>
		<dc:creator>ScoobyDooobyD00</dc:creator>
		<pubDate>Mon, 23 Nov 2009 14:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1146</guid>
		<description>Thanks, I know I don&#039;t have to add ( == TRUE ) but I prefer that, but I never paid attention to make sure it had a value.</description>
		<content:encoded><![CDATA[<p>Thanks, I know I don&#8217;t have to add ( == TRUE ) but I prefer that, but I never paid attention to make sure it had a value.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lifeg0eson666</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1145</link>
		<dc:creator>lifeg0eson666</dc:creator>
		<pubDate>Mon, 23 Nov 2009 13:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1145</guid>
		<description>Good tutorial for beginners though, good job.</description>
		<content:encoded><![CDATA[<p>Good tutorial for beginners though, good job.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ScoobyDooobyD00</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1144</link>
		<dc:creator>ScoobyDooobyD00</dc:creator>
		<pubDate>Mon, 23 Nov 2009 13:24:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1144</guid>
		<description>Thanks</description>
		<content:encoded><![CDATA[<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ignas2526</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1143</link>
		<dc:creator>ignas2526</dc:creator>
		<pubDate>Mon, 23 Nov 2009 12:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1143</guid>
		<description>Nice video, but your code is very unoptimized...</description>
		<content:encoded><![CDATA[<p>Nice video, but your code is very unoptimized&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 3446698</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1142</link>
		<dc:creator>3446698</dc:creator>
		<pubDate>Mon, 23 Nov 2009 11:50:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1142</guid>
		<description>Can We Get a source ?</description>
		<content:encoded><![CDATA[<p>Can We Get a source ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doyubi</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1141</link>
		<dc:creator>Doyubi</dc:creator>
		<pubDate>Mon, 23 Nov 2009 11:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1141</guid>
		<description>BOOORING! As simple as:

switch($_GET[&#039;human&#039;]){
case $_GET[&#039;human&#039;]:($computer==$_GET[&#039;human&#039;])?&quot;draw&quot;;break:NULL /*NO BREAK */;
case 0:($computer==1)?&quot;win&quot;:&quot;lose&quot;;break;
case 1:($computer==2)?&quot;win&quot;:&quot;lose&quot;;break;
case 2:($computer==0)?&quot;win&quot;:&quot;lose&quot;;break;
}
//SQL</description>
		<content:encoded><![CDATA[<p>BOOORING! As simple as:</p>
<p>switch($_GET['human']){<br />
case $_GET['human']:($computer==$_GET['human'])?&#8221;draw&#8221;;break:NULL /*NO BREAK */;<br />
case 0:($computer==1)?&#8221;win&#8221;:&#8221;lose&#8221;;break;<br />
case 1:($computer==2)?&#8221;win&#8221;:&#8221;lose&#8221;;break;<br />
case 2:($computer==0)?&#8221;win&#8221;:&#8221;lose&#8221;;break;<br />
}<br />
//SQL</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: funnyfacesproduction</title>
		<link>http://www.bestselling.im/create-a-game-with-php-part-1/comment-page-1#comment-1140</link>
		<dc:creator>funnyfacesproduction</dc:creator>
		<pubDate>Mon, 23 Nov 2009 10:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.bestselling.im/create-a-game-with-php-part-1#comment-1140</guid>
		<description>can i use notepad?</description>
		<content:encoded><![CDATA[<p>can i use notepad?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
