<?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"
	>
<channel>
	<title>Comments for Coders4Fun</title>
	<atom:link href="http://www.coders4fun.com/en/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coders4fun.com/en</link>
	<description>Programming blog from programming lovers</description>
	<pubDate>Sat, 05 Jul 2008 00:28:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>Comment on ReviewMe - WebHostingPal by Roberta</title>
		<link>http://www.coders4fun.com/en/2008/06/20/webhostingpal/#comment-302</link>
		<dc:creator>Roberta</dc:creator>
		<pubDate>Sat, 21 Jun 2008 08:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.coders4fun.com/en/?p=72#comment-302</guid>
		<description>Oooh!! Very interesting!
I think I'll buy a new web host for my requirements!
Thank you for information!
Excellent post!</description>
		<content:encoded><![CDATA[<p>Oooh!! Very interesting!<br />
I think I&#8217;ll buy a new web host for my requirements!<br />
Thank you for information!<br />
Excellent post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reboot or Shutdown a pc by hy chen</title>
		<link>http://www.coders4fun.com/en/2007/10/08/reboot-or-shutdown-a-pc/#comment-270</link>
		<dc:creator>hy chen</dc:creator>
		<pubDate>Mon, 16 Jun 2008 17:04:11 +0000</pubDate>
		<guid isPermaLink="false">http://raynor/wordpress/en/2007/10/08/reboot-or-shutdown-a-pc/#comment-270</guid>
		<description>good</description>
		<content:encoded><![CDATA[<p>good</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLDump 2.0 by Petr 'PePa' Pavel</title>
		<link>http://www.coders4fun.com/en/2007/10/19/mysqldump-2-php-backup-mysql-database/#comment-179</link>
		<dc:creator>Petr 'PePa' Pavel</dc:creator>
		<pubDate>Fri, 30 May 2008 13:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://raynor/wordpress/en/2007/10/19/mysqldump-2-php-backup-mysql-database/#comment-179</guid>
		<description>One more thing:
A long row of dashes will cause phpMyAdmin to fail to import the dump. It requires a space after two dashes:
@@ -155,7 +155,7 @@ class MySQLDump {
 		// Save all Column Indexes
 		$structure .= $this-&#62;getSqlKeysTable($table);
 
-		$structure .= "\n);\n\n----------------------------------------------------------\n\n";
+		$structure .= "\n);\n\n-- --------------------------------------------------------\n\n";
 		$this-&#62;saveToFile($this-&#62;file,$structure);
 	}
 
@@ -218,7 +222,7 @@ class MySQLDump {
 				$data = '';
 			}
 		}
-		$data .= "\n----------------------------------------------------------\n\n";
+		$data .= "\n-- --------------------------------------------------------\n\n";
 		$this-&#62;saveToFile($this-&#62;file,$data);
 	}</description>
		<content:encoded><![CDATA[<p>One more thing:<br />
A long row of dashes will cause phpMyAdmin to fail to import the dump. It requires a space after two dashes:<br />
@@ -155,7 +155,7 @@ class MySQLDump {<br />
 		// Save all Column Indexes<br />
 		$structure .= $this-&gt;getSqlKeysTable($table);</p>
<p>-		$structure .= &#8220;\n);\n\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\n\n&#8221;;<br />
+		$structure .= &#8220;\n);\n\n&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\n\n&#8221;;<br />
 		$this-&gt;saveToFile($this-&gt;file,$structure);<br />
 	}</p>
<p>@@ -218,7 +222,7 @@ class MySQLDump {<br />
 				$data = &#8221;;<br />
 			}<br />
 		}<br />
-		$data .= &#8220;\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-\n\n&#8221;;<br />
+		$data .= &#8220;\n&#8211; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\n\n&#8221;;<br />
 		$this-&gt;saveToFile($this-&gt;file,$data);<br />
 	}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLDump 2.0 by Petr 'PePa' Pavel</title>
		<link>http://www.coders4fun.com/en/2007/10/19/mysqldump-2-php-backup-mysql-database/#comment-178</link>
		<dc:creator>Petr 'PePa' Pavel</dc:creator>
		<pubDate>Fri, 30 May 2008 09:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://raynor/wordpress/en/2007/10/19/mysqldump-2-php-backup-mysql-database/#comment-178</guid>
		<description>Hi folks,
this dump script ignores null values. Here's a fix:
@@ -205,10 +205,14 @@ class MySQLDump {
 			$data .= ' (';
 			for ($j = 0; $j  0) )
-					$data .= "0x".$record[$field_name];
-				else
-					$data .= '\''.@str_replace('\"','"',@mysql_escape_string($record[$field_name])).'\'';
+				if (is_null($record[$field_name])) {
+					$data .= "NULL";
+				} else {
+					if ( $hexField[$j] &#38;&#38; (@strlen($record[$field_name]) &#62; 0) )
+						$data .= "0x".$record[$field_name];
+					else
+						$data .= '\''.@str_replace('\"','"',@mysql_escape_string($record[$field_name])).'\'';
+				}
 				$data .= ',';
 			}
 			$data = @substr($data,0,-1).");\n";</description>
		<content:encoded><![CDATA[<p>Hi folks,<br />
this dump script ignores null values. Here&#8217;s a fix:<br />
@@ -205,10 +205,14 @@ class MySQLDump {<br />
 			$data .= &#8216; (&#8217;;<br />
 			for ($j = 0; $j  0) )<br />
-					$data .= &#8220;0x&#8221;.$record[$field_name];<br />
-				else<br />
-					$data .= &#8216;\&#8221;.@str_replace(&#8217;\&#8221;&#8216;,&#8217;&#8221;&#8216;,@mysql_escape_string($record[$field_name])).&#8217;\&#8221;;<br />
+				if (is_null($record[$field_name])) {<br />
+					$data .= &#8220;NULL&#8221;;<br />
+				} else {<br />
+					if ( $hexField[$j] &amp;&amp; (@strlen($record[$field_name]) &gt; 0) )<br />
+						$data .= &#8220;0x&#8221;.$record[$field_name];<br />
+					else<br />
+						$data .= &#8216;\&#8221;.@str_replace(&#8217;\&#8221;&#8216;,&#8217;&#8221;&#8216;,@mysql_escape_string($record[$field_name])).&#8217;\&#8221;;<br />
+				}<br />
 				$data .= &#8216;,&#8217;;<br />
 			}<br />
 			$data = @substr($data,0,-1).&#8221;);\n&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Coders4fun Quiz #4 by dzamir</title>
		<link>http://www.coders4fun.com/en/2008/05/14/coders4fun-quiz-4/#comment-154</link>
		<dc:creator>dzamir</dc:creator>
		<pubDate>Thu, 22 May 2008 13:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.coders4fun.com/en/?p=68#comment-154</guid>
		<description>@Petar Petrov:
You won a link in the blogroll :P</description>
		<content:encoded><![CDATA[<p>@Petar Petrov:<br />
You won a link in the blogroll <img src='http://www.coders4fun.com/en/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Coders4fun Quiz #4 by dzamir</title>
		<link>http://www.coders4fun.com/en/2008/05/14/coders4fun-quiz-4/#comment-153</link>
		<dc:creator>dzamir</dc:creator>
		<pubDate>Thu, 22 May 2008 12:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.coders4fun.com/en/?p=68#comment-153</guid>
		<description>@Petar Petrov:
Congratulations! :)</description>
		<content:encoded><![CDATA[<p>@Petar Petrov:<br />
Congratulations! <img src='http://www.coders4fun.com/en/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Coders4fun Quiz #4 by Petar Petrov</title>
		<link>http://www.coders4fun.com/en/2008/05/14/coders4fun-quiz-4/#comment-150</link>
		<dc:creator>Petar Petrov</dc:creator>
		<pubDate>Wed, 21 May 2008 12:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.coders4fun.com/en/?p=68#comment-150</guid>
		<description>We need to add a static initializer block to the class Quiz like this :

static {
magicNumber = 5;
}</description>
		<content:encoded><![CDATA[<p>We need to add a static initializer block to the class Quiz like this :</p>
<p>static {<br />
magicNumber = 5;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Coders4fun Quiz #4 by dzamir</title>
		<link>http://www.coders4fun.com/en/2008/05/14/coders4fun-quiz-4/#comment-142</link>
		<dc:creator>dzamir</dc:creator>
		<pubDate>Sat, 17 May 2008 09:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.coders4fun.com/en/?p=68#comment-142</guid>
		<description>Of course you can't add nothing into the GetMagicNumber() method... -_-''</description>
		<content:encoded><![CDATA[<p>Of course you can&#8217;t add nothing into the GetMagicNumber() method&#8230; -_-&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Coders4fun Quiz #4 by inandrea</title>
		<link>http://www.coders4fun.com/en/2008/05/14/coders4fun-quiz-4/#comment-139</link>
		<dc:creator>inandrea</dc:creator>
		<pubDate>Fri, 16 May 2008 17:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.coders4fun.com/en/?p=68#comment-139</guid>
		<description>return 5; before return magicNumber;</description>
		<content:encoded><![CDATA[<p>return 5; before return magicNumber;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQLDump 2.0 by Gabi</title>
		<link>http://www.coders4fun.com/en/2007/10/19/mysqldump-2-php-backup-mysql-database/#comment-101</link>
		<dc:creator>Gabi</dc:creator>
		<pubDate>Thu, 17 Apr 2008 05:53:10 +0000</pubDate>
		<guid isPermaLink="false">http://raynor/wordpress/en/2007/10/19/mysqldump-2-php-backup-mysql-database/#comment-101</guid>
		<description>Hi Syrius

I think you have to put the lib_dump.php file into a zip archive for others to be able to download it :)</description>
		<content:encoded><![CDATA[<p>Hi Syrius</p>
<p>I think you have to put the lib_dump.php file into a zip archive for others to be able to download it <img src='http://www.coders4fun.com/en/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
