<?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: Learning PHP (6) &#8211; Connecting to a database</title>
	<atom:link href="http://www.cfg.no/2009/06/learning-php-6-connecting-to-a-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cfg.no/2009/06/learning-php-6-connecting-to-a-database/</link>
	<description>The blog project, a journey!</description>
	<lastBuildDate>Wed, 02 Sep 2009 17:52:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: admin</title>
		<link>http://www.cfg.no/2009/06/learning-php-6-connecting-to-a-database/comment-page-1/#comment-371</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 17 Jun 2009 20:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.cfg.no/?p=221#comment-371</guid>
		<description>Also be aware that unset() doesn&#039;t actually free memory.
For reference see http://stackoverflow.com/questions/584960/whats-better-at-freeing-memory-with-php-unset-or-var-null</description>
		<content:encoded><![CDATA[<p>Also be aware that unset() doesn&#8217;t actually free memory.<br />
For reference see <a href="http://stackoverflow.com/questions/584960/whats-better-at-freeing-memory-with-php-unset-or-var-null" rel="nofollow">http://stackoverflow.com/questions/584960/whats-better-at-freeing-memory-with-php-unset-or-var-null</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Espen</title>
		<link>http://www.cfg.no/2009/06/learning-php-6-connecting-to-a-database/comment-page-1/#comment-370</link>
		<dc:creator>Espen</dc:creator>
		<pubDate>Wed, 17 Jun 2009 20:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.cfg.no/?p=221#comment-370</guid>
		<description>I agree with you, echo is on average 20% faster than print, but please just hear me out on my 
reason for not editing the post.

How much CPU time does each of those spend?
There are also a bunch of other optimization tricks you can do like &#039;using single quotes instead of double quotes&#039;, but (I may speak for only myself here) I don&#039;t like &quot;micro-optimization&quot; (as people tend to call this).

Check out this post: http://fabien.potencier.org/article/8/print-vs-echo-which-one-is-faster

Also I want to state that I am concentrating on getting basic knowledge out there so people can grow on that.
Optimization of code should of course be considered, but I believe it&#039;s better to actually get stuff done. 
hardware is also cheap today.
One other reason that I am using print is because I also do a lot of perl, and the convenience and ignorance is bliss. :-D</description>
		<content:encoded><![CDATA[<p>I agree with you, echo is on average 20% faster than print, but please just hear me out on my<br />
reason for not editing the post.</p>
<p>How much CPU time does each of those spend?<br />
There are also a bunch of other optimization tricks you can do like &#8216;using single quotes instead of double quotes&#8217;, but (I may speak for only myself here) I don&#8217;t like &#8220;micro-optimization&#8221; (as people tend to call this).</p>
<p>Check out this post: <a href="http://fabien.potencier.org/article/8/print-vs-echo-which-one-is-faster" rel="nofollow">http://fabien.potencier.org/article/8/print-vs-echo-which-one-is-faster</a></p>
<p>Also I want to state that I am concentrating on getting basic knowledge out there so people can grow on that.<br />
Optimization of code should of course be considered, but I believe it&#8217;s better to actually get stuff done.<br />
hardware is also cheap today.<br />
One other reason that I am using print is because I also do a lot of perl, and the convenience and ignorance is bliss. <img src='http://www.cfg.no/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bheesham</title>
		<link>http://www.cfg.no/2009/06/learning-php-6-connecting-to-a-database/comment-page-1/#comment-369</link>
		<dc:creator>bheesham</dc:creator>
		<pubDate>Wed, 17 Jun 2009 19:48:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.cfg.no/?p=221#comment-369</guid>
		<description>you should edit this to use echo instead of print. print is a bit slower than echo.


Here&#039;s where I got the info from.
http://reinholdweber.com/?p=3

It&#039;s some good tips.</description>
		<content:encoded><![CDATA[<p>you should edit this to use echo instead of print. print is a bit slower than echo.</p>
<p>Here&#8217;s where I got the info from.<br />
<a href="http://reinholdweber.com/?p=3" rel="nofollow">http://reinholdweber.com/?p=3</a></p>
<p>It&#8217;s some good tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.cfg.no/2009/06/learning-php-6-connecting-to-a-database/comment-page-1/#comment-367</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 16 Jun 2009 20:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.cfg.no/?p=221#comment-367</guid>
		<description>If you run into any trouble, the mysql_error() function will return the last error message from MySQL. :-)</description>
		<content:encoded><![CDATA[<p>If you run into any trouble, the mysql_error() function will return the last error message from MySQL. <img src='http://www.cfg.no/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
