<?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>netninja.hu &#187; mdb2</title>
	<atom:link href="http://netninja.hu/tag/mdb2/feed/" rel="self" type="application/rss+xml" />
	<link>http://netninja.hu</link>
	<description>$net-&#62;ninja</description>
	<lastBuildDate>Wed, 05 Oct 2011 23:55:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>how to pear mdb2 statement prepare, execute, free</title>
		<link>http://netninja.hu/2009/05/20/how-to-pear-mdb2-statment-prepare-execute-free/</link>
		<comments>http://netninja.hu/2009/05/20/how-to-pear-mdb2-statment-prepare-execute-free/#comments</comments>
		<pubDate>Tue, 19 May 2009 23:04:39 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[mdb2]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[postgres]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=139</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/mdb2/" rel="tag">mdb2</a>, <a href="http://netninja.hu/tag/pear/" rel="tag">pear</a>, <a href="http://netninja.hu/tag/postgres/" rel="tag">postgres</a>, <a href="http://netninja.hu/tag/postgresql/" rel="tag">postgresql</a></p>mdb2 = new &#38;MDB2::factory($dsn, $options); $sql = 'SELECT * FROM schema.table WHERE valueinteger = ? AND valuetext = ? AND valueboolean = ?'; $types = array('integer', 'text', 'boolean'); $statement = $mdb2-&#62;prepare($sql, $types); $data = array('integer', 'text', true); $resultset = $statement-&#62;execute($data); $statement-&#62;free(); while ($rows = $resultset-&#62;fetchRow(MDB2_FETCHMODE_ASSOC)) { //todo } Google+ syck<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/05/20/how-to-pear-mdb2-statment-prepare-execute-free/' title='how to pear mdb2 statement prepare, execute, free'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p><code>mdb2 = new &amp;MDB2::factory($dsn, $options);<br />
$sql = 'SELECT * FROM schema.table WHERE valueinteger = ? AND valuetext = ? AND valueboolean = ?';<br />
$types = array('integer', 'text', 'boolean');<br />
$statement = $mdb2-&gt;prepare($sql, $types);<br />
$data = array('integer', 'text', true);<br />
$resultset = $statement-&gt;execute($data);<br />
<span> </span>$statement-&gt;free();<br />
while ($rows = $resultset-&gt;fetchRow(MDB2_FETCHMODE_ASSOC)) {<br />
//todo<br />
}</code></p>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/05/20/how-to-pear-mdb2-statment-prepare-execute-free/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call to undefined method MDB2_Error::execute()</title>
		<link>http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2_errorexecute/</link>
		<comments>http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2_errorexecute/#comments</comments>
		<pubDate>Sat, 16 May 2009 16:59:02 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[mdb2]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[pear]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=13</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/mdb2/" rel="tag">mdb2</a>, <a href="http://netninja.hu/tag/memo/" rel="tag">memo</a>, <a href="http://netninja.hu/tag/pear/" rel="tag">pear</a></p>Error: Call to undefined method MDB2_Error::execute() Solution: sql query check (missing table, missing column, missing data?) Google Plus syck<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2_errorexecute/' title='Call to undefined method MDB2_Error::execute()'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p>Error: Call to undefined method MDB2_Error::execute()</p>
<p>Solution: sql query check (missing table, missing column, missing data?)</p>
<p class="author-link">Google Plus <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2_errorexecute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call to undefined method MDB2::prepare()</title>
		<link>http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2prepare/</link>
		<comments>http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2prepare/#comments</comments>
		<pubDate>Sat, 16 May 2009 15:30:15 +0000</pubDate>
		<dc:creator>syck</dc:creator>
				<category><![CDATA[Trash]]></category>
		<category><![CDATA[mdb2]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[pear]]></category>

		<guid isPermaLink="false">http://netninja.hu/?p=10</guid>
		<description><![CDATA[<table cellpadding='10'><tr><td valign='top' align='left'><p>Categories: <a href="http://netninja.hu/category/trash/" title="View all posts in Trash" rel="category tag">Trash</a></p><p>Tags: <a href="http://netninja.hu/tag/mdb2/" rel="tag">mdb2</a>, <a href="http://netninja.hu/tag/memo/" rel="tag">memo</a>, <a href="http://netninja.hu/tag/pear/" rel="tag">pear</a></p>Call to undefined method MDB2::prepare() Fixing solution: pear install -a -f MDB2_Driver_pgsql lol Google+ syck<table width='100%'><tr><td align=right><p><b>(<a href='http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2prepare/' title='Call to undefined method MDB2::prepare()'>Read more...</a>)</b></p></td></tr></table></td></tr></table>]]></description>
			<content:encoded><![CDATA[<p>Call to undefined method MDB2::prepare()</p>
<p>Fixing solution: pear install -a -f MDB2_Driver_pgsql</p>
<div>lol</div>
<p class="author-link">Google+ <a href="http://netninja.hu/author/syck/" rel="author">syck</a></p>]]></content:encoded>
			<wfw:commentRss>http://netninja.hu/2009/05/16/call-to-undefined-method-mdb2prepare/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using memcached
Database Caching 1/8 queries in 0.001 seconds using memcached
Object Caching 427/428 objects using memcached

Served from: netninja.hu @ 2012-02-07 02:25:56 -->
