<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>PHP</title>
	<atom:link href="http://phppimp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://phppimp.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 13 Mar 2008 03:42:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='phppimp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>PHP</title>
		<link>http://phppimp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://phppimp.wordpress.com/osd.xml" title="PHP" />
	<atom:link rel='hub' href='http://phppimp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PHP: MySQL Connection Script</title>
		<link>http://phppimp.wordpress.com/2008/03/12/php-mysql-connection-script/</link>
		<comments>http://phppimp.wordpress.com/2008/03/12/php-mysql-connection-script/#comments</comments>
		<pubDate>Wed, 12 Mar 2008 01:34:51 +0000</pubDate>
		<dc:creator>rossradiation</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://phppimp.wordpress.com/2008/03/12/php-mysql-connection-script/</guid>
		<description><![CDATA[&#60;?php /* #### Connect to MySQL database script #### */ // set variables $username=&#8221;my_username&#8221;; $password=&#8221;my_password&#8221;; $database=&#8221;database_name&#8221;; $host=&#8221;localhost&#8221;; // connect to mysql or die!!!! mysql_connect($host, $username, $password)or die(&#8220;Unable to connect to &#60;b&#62;$host&#60;/b&#62;.&#8221;); // select the desired database or die&#8230;&#8230;&#8230;. mysql_select_db($database) or die(&#8220;Unable to select database&#60;b&#62;$database&#60;/b&#62; on &#60;b&#62;$host&#60;/b&#62;.&#8221;); ?&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phppimp.wordpress.com&amp;blog=3131805&amp;post=3&amp;subd=phppimp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;?php</p>
<blockquote><p><font color="#00ff00"> /*</font></p>
<blockquote><p><font color="#00ff00">#### Connect to MySQL database script   ####</font></p></blockquote>
<p><font color="#00ff00">*/</font></p>
<p><font color="#00ff00">// set variables</font><br />
$username=&#8221;my_username&#8221;;<br />
$password=&#8221;my_password&#8221;;<br />
$database=&#8221;database_name&#8221;;<br />
$host=&#8221;localhost&#8221;;</p>
<p><font color="#00ff00">// connect to mysql or die!!!!</font><br />
mysql_connect($host, $username, $password)or die(&#8220;Unable to connect to   &lt;b&gt;$host&lt;/b&gt;.&#8221;);</p>
<p><font color="#00ff00">// select the desired database or die&#8230;&#8230;&#8230;.</font><br />
mysql_select_db($database) or die(&#8220;Unable to select database&lt;b&gt;$database&lt;/b&gt; on &lt;b&gt;$host&lt;/b&gt;.&#8221;);</p></blockquote>
<p>?&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/phppimp.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/phppimp.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/phppimp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/phppimp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/phppimp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/phppimp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/phppimp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/phppimp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/phppimp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/phppimp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/phppimp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/phppimp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/phppimp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/phppimp.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/phppimp.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/phppimp.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=phppimp.wordpress.com&amp;blog=3131805&amp;post=3&amp;subd=phppimp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://phppimp.wordpress.com/2008/03/12/php-mysql-connection-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a7bfb4d6ccd61c50b5528863f02cf2b4?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Ross Radiation</media:title>
		</media:content>
	</item>
	</channel>
</rss>
