<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Dev Chunks</title>
	
	<link>http://www.devchunks.com</link>
	<description>Web Development Advice</description>
	<pubDate>Thu, 03 Apr 2008 14:29:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<feedburner:info uri="devchunks" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/devchunks" /><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Fdevchunks" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fdevchunks" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Fdevchunks" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/devchunks" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Fdevchunks" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Fdevchunks" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Fdevchunks" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><item>
		<title>Take Regular Backups</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/Ylq7D1HQUKE/</link>
		<comments>http://www.devchunks.com/webdev/take-regular-backups/#comments</comments>
		<pubDate>Sun, 19 Aug 2007 21:34:08 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[backups]]></category>

		<category><![CDATA[productivity]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/backups/take-regular-backups/</guid>
		<description>This is advice that you will have heard 1000 times before, and will probably be just about to stop reading it&amp;#8230; but please, for your sake, ensure that you have proper backups in place.
As you well know, all our work and effort can dissapear with unbelievable ease. Knock that Monday morning cup of coffee over [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=Ylq7D1HQUKE:GCho-QQIJbU:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=Ylq7D1HQUKE:GCho-QQIJbU:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=Ylq7D1HQUKE:GCho-QQIJbU:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=Ylq7D1HQUKE:GCho-QQIJbU:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=Ylq7D1HQUKE:GCho-QQIJbU:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=Ylq7D1HQUKE:GCho-QQIJbU:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/webdev/take-regular-backups/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/webdev/take-regular-backups/</feedburner:origLink></item>
		<item>
		<title>Incorrect usage of UNION and ORDER BY</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/XuhTRRHw8pQ/</link>
		<comments>http://www.devchunks.com/code/incorrect-usage-of-union-and-order-by/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 21:13:25 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[databases]]></category>

		<category><![CDATA[dev]]></category>

		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/databases/incorrect-usage-of-union-and-order-by/</guid>
		<description>A common problem when using the UNION command in MySQL is when you want to order the sets of data differently. If you do it incorrectly, you will see the error message:
Incorrect usage of UNION and ORDER BY
To solve the problem, wrap each individual SELECT statement in parenthesis as follows:
(SELECT col1,col2,col3 FROM table1)
UNION
(SELECT cola,colb,colc FROM [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=XuhTRRHw8pQ:jZoeR2QZuN4:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=XuhTRRHw8pQ:jZoeR2QZuN4:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=XuhTRRHw8pQ:jZoeR2QZuN4:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=XuhTRRHw8pQ:jZoeR2QZuN4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=XuhTRRHw8pQ:jZoeR2QZuN4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=XuhTRRHw8pQ:jZoeR2QZuN4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/code/incorrect-usage-of-union-and-order-by/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/code/incorrect-usage-of-union-and-order-by/</feedburner:origLink></item>
		<item>
		<title>Using the PHP Modulus Operator</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/sBHOTjnj03U/</link>
		<comments>http://www.devchunks.com/php/using-the-php-modulus-operator/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 21:42:49 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[arithmetic]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[dev]]></category>

		<category><![CDATA[operators]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/arithmetic/using-the-php-modulus-operator/</guid>
		<description>The modulus operator is very useful and quite often not known by many new developers. To best describe what it does, I will give an example of where it is useful.
First imaging you are looping through an array of monkeys and want to highlight every third monkey in bold. This is how it is done [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=sBHOTjnj03U:mM5xEXgTqfw:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=sBHOTjnj03U:mM5xEXgTqfw:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=sBHOTjnj03U:mM5xEXgTqfw:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=sBHOTjnj03U:mM5xEXgTqfw:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=sBHOTjnj03U:mM5xEXgTqfw:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=sBHOTjnj03U:mM5xEXgTqfw:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/php/using-the-php-modulus-operator/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/php/using-the-php-modulus-operator/</feedburner:origLink></item>
		<item>
		<title>Use PHP to Capitalise Your Text</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/OzULw_JN56I/</link>
		<comments>http://www.devchunks.com/php/use-php-to-capitalise-your-text/#comments</comments>
		<pubDate>Tue, 31 Jul 2007 20:25:20 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[dev]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[string]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/string/use-php-to-capitalise-your-text/</guid>
		<description>If you want to make sure your text is nicely formatted there are a couple of tricks using PHP that can help you.
Changing the case of your words is one useful feature, that can be achieved with the functions in the following example.
echo strtoupper('abc'); # outputs: ABC
echo strtolower('ABC'); # outputs: abc
echo ucfirst('frogs eat dogs.'); # [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=OzULw_JN56I:_Ig3qXKFP9g:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=OzULw_JN56I:_Ig3qXKFP9g:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=OzULw_JN56I:_Ig3qXKFP9g:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=OzULw_JN56I:_Ig3qXKFP9g:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=OzULw_JN56I:_Ig3qXKFP9g:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=OzULw_JN56I:_Ig3qXKFP9g:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/php/use-php-to-capitalise-your-text/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/php/use-php-to-capitalise-your-text/</feedburner:origLink></item>
		<item>
		<title>Keep Your Website Hidden While Testing</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/X4eRiICKssM/</link>
		<comments>http://www.devchunks.com/code/website-hidden-testing/#comments</comments>
		<pubDate>Fri, 27 Jul 2007 10:06:18 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[htaccess]]></category>

		<category><![CDATA[ip]]></category>

		<category><![CDATA[server]]></category>

		<category><![CDATA[testing]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/ip/website-hidden-testing/</guid>
		<description>This is a little trick I use a lot.
Quite often I am working on a website for a client that has an admin area. I like to give access to the admin area while I am still working on the front end design. This way the client can start adding products/content/whatever while I am building [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=X4eRiICKssM:QhVxQ9ebPv8:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=X4eRiICKssM:QhVxQ9ebPv8:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=X4eRiICKssM:QhVxQ9ebPv8:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=X4eRiICKssM:QhVxQ9ebPv8:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=X4eRiICKssM:QhVxQ9ebPv8:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=X4eRiICKssM:QhVxQ9ebPv8:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/code/website-hidden-testing/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/code/website-hidden-testing/</feedburner:origLink></item>
		<item>
		<title>subquery workaround in MySQL 4</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/RhTYLFlkmpw/</link>
		<comments>http://www.devchunks.com/php/subquery-workaround-in-mysql-4/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 15:31:04 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[dev]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[sql]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/dev/subquery-workaround-in-mysql-4/</guid>
		<description>One of the most useful additions to MySQL 5 is the subquery, which lets you execute sql like this:
SELECT username FROM users WHERE user_id IN (SELECT user_id FROM admins);
Unfortunately, MySQL 4 is lacking this feature and is still prevalent in many web hosts. If you have a need to use a subquery, try this following [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=RhTYLFlkmpw:3cltaxr8szI:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=RhTYLFlkmpw:3cltaxr8szI:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=RhTYLFlkmpw:3cltaxr8szI:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=RhTYLFlkmpw:3cltaxr8szI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=RhTYLFlkmpw:3cltaxr8szI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=RhTYLFlkmpw:3cltaxr8szI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/php/subquery-workaround-in-mysql-4/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/php/subquery-workaround-in-mysql-4/</feedburner:origLink></item>
		<item>
		<title>explode() and implode() php arrays</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/DbRlkjbe2Jk/</link>
		<comments>http://www.devchunks.com/php/explode-implode-php-array/#comments</comments>
		<pubDate>Mon, 23 Jul 2007 15:30:09 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[array]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[dev]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/dev/explode-implode-php-array/</guid>
		<description>No this isn&amp;#8217;t about getting frustrated with PHP and nuking your server, this is a couple of very useful (although hard to remember) array functions.
explode() will take a string and give you an array, splitting that string on the delimiter you give. For example, if you have a list of comma seperated values you will [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=DbRlkjbe2Jk:if5MMF89hYE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=DbRlkjbe2Jk:if5MMF89hYE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=DbRlkjbe2Jk:if5MMF89hYE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=DbRlkjbe2Jk:if5MMF89hYE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=DbRlkjbe2Jk:if5MMF89hYE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=DbRlkjbe2Jk:if5MMF89hYE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/php/explode-implode-php-array/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/php/explode-implode-php-array/</feedburner:origLink></item>
		<item>
		<title>Dump your PHP Variables with var_dump()</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/vDaj-0uMVBg/</link>
		<comments>http://www.devchunks.com/php/variable-dump-php/#comments</comments>
		<pubDate>Sun, 22 Jul 2007 19:00:09 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[debugging]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[variables]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/debugging/variable-dump-php/</guid>
		<description>To find out the full details of any given variable in php, simply use var_dump() as follows:
var_dump($variable);
This will show you the php variable type, its value and if it is an object or array the structure and all information will be explored recursively.
The only slight disadvantage to using var_dump() is that the output is sent [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=vDaj-0uMVBg:UmzSgBPfQ4Y:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=vDaj-0uMVBg:UmzSgBPfQ4Y:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=vDaj-0uMVBg:UmzSgBPfQ4Y:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=vDaj-0uMVBg:UmzSgBPfQ4Y:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=vDaj-0uMVBg:UmzSgBPfQ4Y:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=vDaj-0uMVBg:UmzSgBPfQ4Y:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/php/variable-dump-php/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/php/variable-dump-php/</feedburner:origLink></item>
		<item>
		<title>MySQL Random Row</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/qPFYMyj8xjg/</link>
		<comments>http://www.devchunks.com/code/mysql-random-row/#comments</comments>
		<pubDate>Sun, 01 Jul 2007 23:24:35 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/database/mysql-random-row/</guid>
		<description>To get a random row from your table, you can use the following trick:

SELECT * FROM myTable ORDER BY RAND() LIMIT 1&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=qPFYMyj8xjg:RmxFayJSLak:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=qPFYMyj8xjg:RmxFayJSLak:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=qPFYMyj8xjg:RmxFayJSLak:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=qPFYMyj8xjg:RmxFayJSLak:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=qPFYMyj8xjg:RmxFayJSLak:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=qPFYMyj8xjg:RmxFayJSLak:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/code/mysql-random-row/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/code/mysql-random-row/</feedburner:origLink></item>
		<item>
		<title>Struggling to debug php? Enable all errors</title>
		<link>http://feedproxy.google.com/~r/devchunks/~3/q0Gs7Yvg4qU/</link>
		<comments>http://www.devchunks.com/php/debug-php-enable-all-errors/#comments</comments>
		<pubDate>Sun, 27 May 2007 19:18:39 +0000</pubDate>
		<dc:creator>Carey</dc:creator>
		
		<category><![CDATA[php]]></category>

		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.devchunks.com/uncategorized/struggling-to-debug-php-enable-all-errors/</guid>
		<description>If you are having a problem debugging any php code a good thing to do is make sure all errors are showing. Simply use the following code at the beginning of your script:
error_reporting(E_ALL);You may find that the open source code you are using or the website created by somebody else is hiding too many errors [...]&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=q0Gs7Yvg4qU:VCmb-pqLWVE:dnMXMwOfBR0"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=dnMXMwOfBR0" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=q0Gs7Yvg4qU:VCmb-pqLWVE:F7zBnMyn0Lo"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=q0Gs7Yvg4qU:VCmb-pqLWVE:F7zBnMyn0Lo" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=q0Gs7Yvg4qU:VCmb-pqLWVE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/devchunks?a=q0Gs7Yvg4qU:VCmb-pqLWVE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/devchunks?i=q0Gs7Yvg4qU:VCmb-pqLWVE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;</description>
		<wfw:commentRss>http://www.devchunks.com/php/debug-php-enable-all-errors/feed/</wfw:commentRss>
		<feedburner:origLink>http://www.devchunks.com/php/debug-php-enable-all-errors/</feedburner:origLink></item>
	</channel>
</rss>
