<?xml version="1.0" encoding="ISO-8859-1"?><!-- generator="WordPress/2.8.3" -->
<rss version="0.92">
<channel>
	<title>Nguyen Duc Thuan&#039;s Homepage</title>
	<link>http://www.ndthuan.com/home</link>
	<description>Nguyen Duc Thuan&#039;s Homepage</description>
	<lastBuildDate>Mon, 21 Sep 2009 18:20:06 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>&#8220;Lost connection to MySQL server during query&#8221;</title>
		<description><![CDATA[If you don&#8217;t perform any query after creating connection to MySQL server, it may cause this problem.
The simple solution is to use mysql_ping PHP function to check the connection, if it&#8217;s lost, attempt to recreate it.

if (!mysql_ping($linkId)) {
    mysql_close($linkId);
    mysql_connect(&#039;host&#039;, &#039;username&#039;, &#039;password&#039;);
    mysql_select_db(&#039;db_name&#039;);
    [...]


<strong>Related Posts</strong>

No related posts.]]></description>
		<link>http://www.ndthuan.com/home/lost-connection-to-mysql-server-during-query.html</link>
			</item>
	<item>
		<title>Displaying Data From Arrays in Sortable Grids</title>
		<description><![CDATA[Sometimes, you want to automatically render data from arrays, database queries&#8230; in the grids but feeling lazy to manually write HTML line by line. I&#8217;ve written a class named &#8216;Fete_ViewControl_DataGrid&#8217; which can help you do that. This class also supports sorting, it can be easily integrated with other frameworks or your existing codes.
The class and [...]


<strong>Related Posts</strong>

No related posts.]]></description>
		<link>http://www.ndthuan.com/home/displaying-data-from-arrays-in-sortable-grids.html</link>
			</item>
	<item>
		<title>How To Create Multiple Themes Application With Zend Framework?</title>
		<description><![CDATA[Zend Framework is a good choice for developers who want a well-designed, flexible PHP framework.
I&#8217;ve been using PHP because of its speed and flexibility, which are weaknesses of other scripting languages.
With phpBB, WordPress&#8230; or almost other PHP softwares, the users can have various themes to switch between them easily. Zend Framework does not natively support [...]


<strong>Related Posts</strong>

No related posts.]]></description>
		<link>http://www.ndthuan.com/home/how-to-create-multiple-themes-application-with-zend-framework.html</link>
			</item>
	<item>
		<title>WordPress GStyle Theme</title>
		<description><![CDATA[I like Google&#8217;s services because they are simple and easy to use. I like WordPress, too. So I&#8217;ve made this theme to combine them for private use and named it GStyle  

Now I share it here under GPL 3.0 license. You can download and try it, demonstration is my blog, what you are seeing.
Download [...]


<strong>Related Posts</strong>

No related posts.]]></description>
		<link>http://www.ndthuan.com/home/wordpress-gstyle-theme.html</link>
			</item>
	<item>
		<title>PHP: How To Highlight Search Without Affecting HTML Tags</title>
		<description><![CDATA[This class enables you to highlight keywords in the search results without affecting HTML tags. It can exactly highlight the string in double quotes of the keyword. For example:
$highlightedString = Fete_Util_Text_Highlighter::createInstance(&#039;&#60;b&#62;&#039;, &#039;&#60;/b&#62;&#039;)
-&#62;highlight(&#039;PHP rules the world&#039;, &#039;&#34;PHP rules&#34; world&#039;); // prints &#60;b&#62;PHP rules&#60;/b&#62; the &#60;b&#62;world&#60;/b&#62;

The class has been updated at http://www.phpclasses.org/browse/package/5471.html, it now can ignore the text [...]


<strong>Related Posts</strong>

No related posts.]]></description>
		<link>http://www.ndthuan.com/home/php-how-to-highlight-search-without-affecting-html-tags.html</link>
			</item>
</channel>
</rss>
