<?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/"
	>

<channel>
	<title>Tutorius &#187; PHP</title>
	<atom:link href="http://www.tutorius.com/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tutorius.com</link>
	<description>Tutorials &#38; Articles &#38; such as that</description>
	<lastBuildDate>Tue, 29 Jun 2010 13:06:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Writing Secure PHP Code</title>
		<link>http://www.tutorius.com/writing-secure-php-code</link>
		<comments>http://www.tutorius.com/writing-secure-php-code#comments</comments>
		<pubDate>Fri, 18 Jun 2010 13:48:32 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tutorius.com/?p=899</guid>
		<description><![CDATA[I won't try to reinvent the wheel here. These articles from Dave and AddedBytes.com do the job just fine. Writing Secure PHP]]></description>
		<wfw:commentRss>http://www.tutorius.com/writing-secure-php-code/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Debug Message Function</title>
		<link>http://www.tutorius.com/php-debug-message-function</link>
		<comments>http://www.tutorius.com/php-debug-message-function#comments</comments>
		<pubDate>Mon, 17 May 2010 11:55:25 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tutorius.com/?p=849</guid>
		<description><![CDATA[PHP coders frequently need to display a message in code for debugging purposes. It helps to be able to display these messages in a distinctive matter that sets them apart from normal page content, and to display the line number where the message was triggered. This function displays the massage in a visually distinctive form, [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/php-debug-message-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading configuration data from a MySQL into PHP constants</title>
		<link>http://www.tutorius.com/loading-configuration-data-from-mysql-into-php-constants</link>
		<comments>http://www.tutorius.com/loading-configuration-data-from-mysql-into-php-constants#comments</comments>
		<pubDate>Wed, 12 May 2010 19:12:58 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.tutorius.com/?p=838</guid>
		<description><![CDATA[The following code will take the contents of the first row of a configuration table and create a constant for each attribute stored in it. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // ----------------------------- LOAD CONFIGURATION DATA FROM DATABASE ----------------------------- // Each data element in first row [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/loading-configuration-data-from-mysql-into-php-constants/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a dynamic SELECT list with PHP and MySQL</title>
		<link>http://www.tutorius.com/building-a-dynamic-select-list-with-php-and-mysql</link>
		<comments>http://www.tutorius.com/building-a-dynamic-select-list-with-php-and-mysql#comments</comments>
		<pubDate>Wed, 24 Mar 2010 03:13:42 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tutorius.com/?p=718</guid>
		<description><![CDATA[A common scenario in web applications is the need to create a &#60;SELECT&#62; list using a set of values extracted from a lookup table in a database. This article will explore a simple example of how to do that. For this example, imagine that in our database we have a lookup table, lu_status, that holds [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/building-a-dynamic-select-list-with-php-and-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick and Dirty: List records in a table using PHP and MySQL</title>
		<link>http://www.tutorius.com/quick-and-dirty-list-records-in-a-table-using-php-and-mysql</link>
		<comments>http://www.tutorius.com/quick-and-dirty-list-records-in-a-table-using-php-and-mysql#comments</comments>
		<pubDate>Fri, 23 Oct 2009 15:40:40 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Snippet]]></category>

		<guid isPermaLink="false">http://tutorius.com/?p=497</guid>
		<description><![CDATA[This code lists reads a dataset from the database and lists all attributes in a table.  This code sample is deliberately quite basic, though CSS is used (through the $bgcolour variable) to create alternating background colours for the rows. The code assumes you have already connected to a database. 1 2 3 4 5 6 [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/quick-and-dirty-list-records-in-a-table-using-php-and-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Calculating a fiscal year in PHP</title>
		<link>http://www.tutorius.com/calculating-a-fiscal-year-in-php</link>
		<comments>http://www.tutorius.com/calculating-a-fiscal-year-in-php#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:47:35 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tutorius.com/?p=486</guid>
		<description><![CDATA[This code is a straight cut and paste from a comment the php.net page on the strftime() function, credit is due to lamb dot dan at gmail dot com. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/calculating-a-fiscal-year-in-php/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Prevent SQL Injection attacks in PHP and MySQL</title>
		<link>http://www.tutorius.com/prevent-sql-injection-attacks-in-php-and-mysql</link>
		<comments>http://www.tutorius.com/prevent-sql-injection-attacks-in-php-and-mysql#comments</comments>
		<pubDate>Mon, 17 Aug 2009 13:46:49 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tutorius.com/?p=386</guid>
		<description><![CDATA[Place this code in your database connect include, just before the database connection is made. This ensures that SQL injection attempts are handled before the database is opened. By doing it up front like this, the input is already escaped and we don't have to deal with it in our other scripts as we use input [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/prevent-sql-injection-attacks-in-php-and-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing the font of code blocks with geshi syntax highlighter</title>
		<link>http://www.tutorius.com/changing-the-font-of-code-blocks-with-geshi-syntax-highlighter</link>
		<comments>http://www.tutorius.com/changing-the-font-of-code-blocks-with-geshi-syntax-highlighter#comments</comments>
		<pubDate>Fri, 31 Jul 2009 17:46:22 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://tutorius.com/?p=297</guid>
		<description><![CDATA[By default, geshi-derived syntax highlighters use a serif font to display code blocks.  Many people find serif fonts less clear than the visually simpler sans-serif fonts. A good choice is Lucida Console.  Consolas is even better because it has a slashed zero, which is easier to distinguish from the capital letter "O", though not as many [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/changing-the-font-of-code-blocks-with-geshi-syntax-highlighter/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Import CSV file to MySQL Database using PHP</title>
		<link>http://www.tutorius.com/import-csv-file-to-mysql-database-using-php</link>
		<comments>http://www.tutorius.com/import-csv-file-to-mysql-database-using-php#comments</comments>
		<pubDate>Tue, 28 Jul 2009 13:20:25 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tutorius.com/?p=262</guid>
		<description><![CDATA[&#60;!--p &#160; /** ~~~~~~~ CSV IMPORT TO DATABASE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * * This script reads in a comma delimited text file (.csv) and creates * a table in the database from it. * * The table will be emptied to start with if it is already in the database. * * Have not yet tried this [...]]]></description>
		<wfw:commentRss>http://www.tutorius.com/import-csv-file-to-mysql-database-using-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract the extension from a filename</title>
		<link>http://www.tutorius.com/222</link>
		<comments>http://www.tutorius.com/222#comments</comments>
		<pubDate>Sat, 18 Apr 2009 03:16:38 +0000</pubDate>
		<dc:creator>Rob</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tutorius.com/?p=222</guid>
		<description><![CDATA[This is a simple technique to extract the filename extension from a filename.  It could easily be adapted to extract the filename from a path or a query string from a URL by changing the first parameter of the explode() function. $extension = end&#40;explode&#40;'.', $filename&#41;&#41;;]]></description>
		<wfw:commentRss>http://www.tutorius.com/222/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
