<?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: Zend Framework and PDO_MYSQL</title>
	<atom:link href="http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/</link>
	<description></description>
	<lastBuildDate>Wed, 05 May 2010 15:01:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: rakesh</title>
		<link>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/comment-page-1/#comment-33175</link>
		<dc:creator>rakesh</dc:creator>
		<pubDate>Fri, 17 Jul 2009 10:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/#comment-33175</guid>
		<description>Hi, 

I have started learning ZF. I am using 1.8. 
I am not able to figure out how to call my stored functions or procedures from zend framework. 
tried some ways but its give error. here is code - decode_error is my stored function in mysql db.

$config = new Zend_Config_Ini(APPLICATION_PATH.&quot;/configs/application.ini&quot;);
      $db = Zend_Db::factory($config-&gt;resources-&gt;db-&gt;adapter, array($config-&gt;resources-&gt;db-&gt;params-&gt;toArray()));
      $qu = $db-&gt;prepare(&quot;select decode_error(?,?)&quot;);
      $qu-&gt;execute(array(&#039;staging_eqb_horse&#039;, $errorCode));
      $res = $qu-&gt;fetchAll();


please help me out 

-- rakesh</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>I have started learning ZF. I am using 1.8.<br />
I am not able to figure out how to call my stored functions or procedures from zend framework.<br />
tried some ways but its give error. here is code &#8211; decode_error is my stored function in mysql db.</p>
<p>$config = new Zend_Config_Ini(APPLICATION_PATH.&#8221;/configs/application.ini&#8221;);<br />
      $db = Zend_Db::factory($config-&gt;resources-&gt;db-&gt;adapter, array($config-&gt;resources-&gt;db-&gt;params-&gt;toArray()));<br />
      $qu = $db-&gt;prepare(&#8220;select decode_error(?,?)&#8221;);<br />
      $qu-&gt;execute(array(&#8216;staging_eqb_horse&#8217;, $errorCode));<br />
      $res = $qu-&gt;fetchAll();</p>
<p>please help me out </p>
<p>&#8211; rakesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vem</title>
		<link>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/comment-page-1/#comment-20947</link>
		<dc:creator>vem</dc:creator>
		<pubDate>Sat, 20 Sep 2008 22:55:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/#comment-20947</guid>
		<description>this one:
$handle-&gt;execute(array(&quot;:value&quot; =&gt; &#039;crap&#039;))

I tried it in this way
$handle-&gt;execute(array(&quot;:value&quot; =&gt; 15))
and it doesn&#039;t work for me</description>
		<content:encoded><![CDATA[<p>this one:<br />
$handle-&gt;execute(array(&#8220;:value&#8221; =&gt; &#8216;crap&#8217;))</p>
<p>I tried it in this way<br />
$handle-&gt;execute(array(&#8220;:value&#8221; =&gt; 15))<br />
and it doesn&#8217;t work for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drasch</title>
		<link>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/comment-page-1/#comment-20943</link>
		<dc:creator>drasch</dc:creator>
		<pubDate>Sat, 20 Sep 2008 21:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/#comment-20943</guid>
		<description>What part only works for a string?  I&#039;m a bit confused about your question.</description>
		<content:encoded><![CDATA[<p>What part only works for a string?  I&#8217;m a bit confused about your question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vem</title>
		<link>http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/comment-page-1/#comment-20937</link>
		<dc:creator>vem</dc:creator>
		<pubDate>Sat, 20 Sep 2008 15:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.davidrasch.com/2007/02/06/zend-framework-and-pdo_mysql/#comment-20937</guid>
		<description>Hi,

I tried your hack, but it works only for string, if I tried it with integer value, it doesn&#039;t works.
Can you help me how to make it?

Thanks,
vem</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I tried your hack, but it works only for string, if I tried it with integer value, it doesn&#8217;t works.<br />
Can you help me how to make it?</p>
<p>Thanks,<br />
vem</p>
]]></content:encoded>
	</item>
</channel>
</rss>

