<?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"
	>
<channel>
	<title>Comments on: Youtube Images - What an Idea !!!</title>
	<atom:link href="http://www.sajithmr.com/youtube-images-what-an-idea/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sajithmr.com/youtube-images-what-an-idea/</link>
	<description></description>
	<pubDate>Thu, 08 Jan 2009 20:51:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: X</title>
		<link>http://www.sajithmr.com/youtube-images-what-an-idea/#comment-31227</link>
		<dc:creator>X</dc:creator>
		<pubDate>Thu, 27 Nov 2008 00:04:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.sajithmr.com/youtube-images-what-an-idea/#comment-31227</guid>
		<description>This method is also promoted in the Yahoo Dev's top ways to speed up your website. It's weird though they optimized their http requests so much while their source code is in many places so unoptimized. http request must be a big issue when sites get a lot of traffic.</description>
		<content:encoded><![CDATA[<p>This method is also promoted in the Yahoo Dev&#8217;s top ways to speed up your website. It&#8217;s weird though they optimized their http requests so much while their source code is in many places so unoptimized. http request must be a big issue when sites get a lot of traffic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John605</title>
		<link>http://www.sajithmr.com/youtube-images-what-an-idea/#comment-27912</link>
		<dc:creator>John605</dc:creator>
		<pubDate>Thu, 06 Nov 2008 19:25:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.sajithmr.com/youtube-images-what-an-idea/#comment-27912</guid>
		<description>Very nice site! 
http://training.cvc4.org/pharm1/14189/4.html</description>
		<content:encoded><![CDATA[<p>Very nice site!<br />
<a href="http://training.cvc4.org/pharm1/14189/4.html" rel="nofollow">http://training.cvc4.org/pharm1/14189/4.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neenbyday</title>
		<link>http://www.sajithmr.com/youtube-images-what-an-idea/#comment-25596</link>
		<dc:creator>Neenbyday</dc:creator>
		<pubDate>Mon, 06 Oct 2008 22:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sajithmr.com/youtube-images-what-an-idea/#comment-25596</guid>
		<description>How i may contact admin this site? I have a question.
iijiivei</description>
		<content:encoded><![CDATA[<p>How i may contact admin this site? I have a question.<br />
iijiivei</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Calling Stroed Procedure from php</title>
		<link>http://www.sajithmr.com/youtube-images-what-an-idea/#comment-9428</link>
		<dc:creator>Calling Stroed Procedure from php</dc:creator>
		<pubDate>Tue, 06 May 2008 11:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sajithmr.com/youtube-images-what-an-idea/#comment-9428</guid>
		<description>Hi 

I am trying to call the mysql stored procedure from the php code given below

query($sql1);

while ($data1 = $query1-&#62;fetch_row())
{
echo $data1[0]."\n";
$sql2 = "call getCapitals(\"".$data1[0]."\")";Deutschland

//SQL which does the same thing:
//$sql2 = "select concat(country, \", capital: \", capital) from countries where country like '".$data1[0]."'";

$query2 = $mysqli-&#62;query($sql2);

while ($data2 = $query2-&#62;fetch_row())
{
echo $data2[0]."\n";
}
$query2-&#62;free(); // unsuccessful attempt to clear the results and get the next SP going
}
?&#62;

Once i Execute the code i am getting the following result

Result:

Deutschland

Fatal error: Call to a member function fetch_row() on a non-object in C:\wamp\www\SMS\Smart\Test\Test.php on line 27

I think the problem is that the stored procedure calling is occurring only once.

Could you please help me to solve this problem?

Thanks in advance

Pradeep</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>I am trying to call the mysql stored procedure from the php code given below</p>
<p>query($sql1);</p>
<p>while ($data1 = $query1-&gt;fetch_row())<br />
{<br />
echo $data1[0].&#8221;\n&#8221;;<br />
$sql2 = &#8220;call getCapitals(\&#8221;".$data1[0].&#8221;\&#8221;)&#8221;;Deutschland</p>
<p>//SQL which does the same thing:<br />
//$sql2 = &#8220;select concat(country, \&#8221;, capital: \&#8221;, capital) from countries where country like &#8216;&#8221;.$data1[0].&#8221;&#8216;&#8221;;</p>
<p>$query2 = $mysqli-&gt;query($sql2);</p>
<p>while ($data2 = $query2-&gt;fetch_row())<br />
{<br />
echo $data2[0].&#8221;\n&#8221;;<br />
}<br />
$query2-&gt;free(); // unsuccessful attempt to clear the results and get the next SP going<br />
}<br />
?&gt;</p>
<p>Once i Execute the code i am getting the following result</p>
<p>Result:</p>
<p>Deutschland</p>
<p>Fatal error: Call to a member function fetch_row() on a non-object in C:\wamp\www\SMS\Smart\Test\Test.php on line 27</p>
<p>I think the problem is that the stored procedure calling is occurring only once.</p>
<p>Could you please help me to solve this problem?</p>
<p>Thanks in advance</p>
<p>Pradeep</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Binny V A</title>
		<link>http://www.sajithmr.com/youtube-images-what-an-idea/#comment-9127</link>
		<dc:creator>Binny V A</dc:creator>
		<pubDate>Sat, 03 May 2008 06:38:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.sajithmr.com/youtube-images-what-an-idea/#comment-9127</guid>
		<description>This technique is called &lt;a href="http://www.alistapart.com/articles/sprites/" rel="nofollow"&gt;CSS Sprites&lt;/a&gt;. It reduces http requests. Its an optimization technique for very large sites.</description>
		<content:encoded><![CDATA[<p>This technique is called <a href="http://www.alistapart.com/articles/sprites/" rel="nofollow">CSS Sprites</a>. It reduces http requests. Its an optimization technique for very large sites.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
