<?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: SQL Injection Safe Queries Redux</title>
	<atom:link href="http://programanddesign.com/php/sql-injection-safe-queries-redux/feed/" rel="self" type="application/rss+xml" />
	<link>http://programanddesign.com/php/sql-injection-safe-queries-redux/</link>
	<description>Tips, tricks, tutorials, and tools on programming &#38; web design</description>
	<lastBuildDate>Tue, 08 May 2012 14:53:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark</title>
		<link>http://programanddesign.com/php/sql-injection-safe-queries-redux/comment-page-1/#comment-225</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 03 Jul 2009 22:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://programanddesign.com/?p=258#comment-225</guid>
		<description>This assumes you&#039;re already connected to a database. Unless you have multiple connections open, you shouldn&#039;t need the link identifier should you? In any case, it&#039;s not hard to add :) I&#039;ve never had any problems with it, but I&#039;ve only tested it on a few servers. If all else fails, &lt;a href=&quot;http://ca.php.net/manual/en/function.addslashes.php&quot; rel=&quot;nofollow&quot;&gt;addslashes&lt;/a&gt; might do the trick.</description>
		<content:encoded><![CDATA[<p>This assumes you&#8217;re already connected to a database. Unless you have multiple connections open, you shouldn&#8217;t need the link identifier should you? In any case, it&#8217;s not hard to add <img src='http://programanddesign.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;ve never had any problems with it, but I&#8217;ve only tested it on a few servers. If all else fails, <a href="http://ca.php.net/manual/en/function.addslashes.php" rel="nofollow">addslashes</a> might do the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bucabay</title>
		<link>http://programanddesign.com/php/sql-injection-safe-queries-redux/comment-page-1/#comment-223</link>
		<dc:creator>bucabay</dc:creator>
		<pubDate>Fri, 03 Jul 2009 14:22:11 +0000</pubDate>
		<guid isPermaLink="false">http://programanddesign.com/?p=258#comment-223</guid>
		<description>Nice. 

Only hitch is that mysql_real_escape_string() really needs the mysql resource as the second parameter. In some conditions, it seems to return an empty string if the db resource is not present. 

I&#039;ve seen this just a few times on different setups, and I&#039;m not sure what the common factor is. Seems to be happening more just lately.</description>
		<content:encoded><![CDATA[<p>Nice. </p>
<p>Only hitch is that mysql_real_escape_string() really needs the mysql resource as the second parameter. In some conditions, it seems to return an empty string if the db resource is not present. </p>
<p>I&#8217;ve seen this just a few times on different setups, and I&#8217;m not sure what the common factor is. Seems to be happening more just lately.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

