<?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: Using MySQL Prepared Statements in PHP</title>
	<atom:link href="http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/</link>
	<description>Web development blog from UltraMega Tech.</description>
	<lastBuildDate>Wed, 10 Mar 2010 19:09:15 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-1143</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Tue, 16 Feb 2010 22:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-1143</guid>
		<description>I&#039;m not sure what you mean by using XML. Prepared statements are specific to certain database engines. If your problems are simply with concatenation, you might want to look at using &lt;a href=&quot;http://www.php.net/manual/function.sprintf.php&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;sprintf&lt;/a&gt; or simply using double quotes around the string.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what you mean by using XML. Prepared statements are specific to certain database engines. If your problems are simply with concatenation, you might want to look at using <a href="http://www.php.net/manual/function.sprintf.php" target="_blank" rel="nofollow">sprintf</a> or simply using double quotes around the string.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-1141</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 16 Feb 2010 02:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-1141</guid>
		<description>Is there any way to do this with XML? I&#039;m using regular queries right now (which is fine because there is no user-input), but the where column = &#039; . $var;  doesn&#039;t work because the variable needs to be in quotation marks while concatenated... you know what I mean? Prepared Statements are a great way to do this but I can&#039;t figure out how to get an XML from it. If you could help that&#039;d be awesome.</description>
		<content:encoded><![CDATA[<p>Is there any way to do this with XML? I&#8217;m using regular queries right now (which is fine because there is no user-input), but the where column = &#8216; . $var;  doesn&#8217;t work because the variable needs to be in quotation marks while concatenated&#8230; you know what I mean? Prepared Statements are a great way to do this but I can&#8217;t figure out how to get an XML from it. If you could help that&#8217;d be awesome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dinesh</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-1122</link>
		<dc:creator>Dinesh</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-1122</guid>
		<description>Good work man. This really saved me.</description>
		<content:encoded><![CDATA[<p>Good work man. This really saved me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-407</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Sat, 24 Oct 2009 15:44:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-407</guid>
		<description>This is very easy to understand explanation how prepared statements work. Thanks</description>
		<content:encoded><![CDATA[<p>This is very easy to understand explanation how prepared statements work. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UltraMega</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-132</link>
		<dc:creator>UltraMega</dc:creator>
		<pubDate>Sat, 08 Aug 2009 18:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-132</guid>
		<description>You mean fetching rows? It&#039;s the same as inserting, except that you have to bind variables to store the results and then fetch each row.

In the example the query gets the name and bio fields from the data, so we need to assign these to variables. Each time we run the fetch method, the values of the current row are assigned to the bound variables.

It&#039;s basically the same as the regular mysql_fetch_row, except we use individual variables instead of an array to store values. I hope that makes sense.</description>
		<content:encoded><![CDATA[<p>You mean fetching rows? It&#8217;s the same as inserting, except that you have to bind variables to store the results and then fetch each row.</p>
<p>In the example the query gets the name and bio fields from the data, so we need to assign these to variables. Each time we run the fetch method, the values of the current row are assigned to the bound variables.</p>
<p>It&#8217;s basically the same as the regular mysql_fetch_row, except we use individual variables instead of an array to store values. I hope that makes sense.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: molamola</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-130</link>
		<dc:creator>molamola</dc:creator>
		<pubDate>Sat, 08 Aug 2009 10:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-130</guid>
		<description>Didn&#039;t understood the last part :s could you explain better please?</description>
		<content:encoded><![CDATA[<p>Didn&#8217;t understood the last part :s could you explain better please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: johnny</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-122</link>
		<dc:creator>johnny</dc:creator>
		<pubDate>Fri, 07 Aug 2009 07:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-122</guid>
		<description>Hello. Thank you for this great info! Keep up the good job!</description>
		<content:encoded><![CDATA[<p>Hello. Thank you for this great info! Keep up the good job!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using MySQL Prepared Statements in PHP &#124; UltraMega Blog</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-111</link>
		<dc:creator>Using MySQL Prepared Statements in PHP &#124; UltraMega Blog</dc:creator>
		<pubDate>Tue, 04 Aug 2009 07:01:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-111</guid>
		<description>[...] this link: Using MySQL Prepared Statements in PHP &#124; UltraMega Blog   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] this link: Using MySQL Prepared Statements in PHP | UltraMega Blog   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Twitted by W3Avenue</title>
		<link>http://www.ultramegatech.com/blog/2009/07/using-mysql-prepared-statements-in-php/comment-page-1/#comment-105</link>
		<dc:creator>Twitted by W3Avenue</dc:creator>
		<pubDate>Mon, 03 Aug 2009 11:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ultramegatech.com/blog/?p=549#comment-105</guid>
		<description>[...] This post was Twitted by W3Avenue [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was Twitted by W3Avenue [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
