<?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>PHP Reference Book Blog &#187; precision</title>
	<atom:link href="http://www.phpreferencebook.com/tag/precision/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpreferencebook.com</link>
	<description>PHP Reference: Beginner to Intermediate PHP5</description>
	<lastBuildDate>Thu, 29 Sep 2011 03:50:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Sprintf() Tip</title>
		<link>http://www.phpreferencebook.com/tips/sprintf-tip/</link>
		<comments>http://www.phpreferencebook.com/tips/sprintf-tip/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 06:44:39 +0000</pubDate>
		<dc:creator>Mario Lurig</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[precision]]></category>
		<category><![CDATA[sprintf]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.phpreferencebook.com/?p=15</guid>
		<description><![CDATA[From the book: For MySQL security, you can use sprintf() to force user input to have a maximum length and be valid for the structure of your database. Use the precision specifier to automatically parse the string submitted by GET or POST.]]></description>
			<content:encoded><![CDATA[<p>From the book:</p>
<p style="margin-bottom: 0.07in;">
<p style="margin-bottom: 0.07in;"><span style="font-size: small;"><span style="font-family: Palatino Linotype,serif;">For MySQL security, you can use </span><span style="font-family: Palatino Linotype,serif;"><strong>sprintf()</strong></span><span style="font-family: Palatino Linotype,serif;"> to force user input to have a maximum length and be valid for the structure of your database. Use the </span><span style="font-family: Palatino Linotype,serif;"><strong>precision</strong></span><span style="font-family: Palatino Linotype,serif;"><span> specifier to automatically parse the string submitted by GET or POST.</span></span></span></p>
<p style="margin-bottom: 0.07in;"><span style="font-family: Palatino Linotype,serif;"><span style="font-size: x-small;"></span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpreferencebook.com/tips/sprintf-tip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

