<?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: AJAX Multi-Level Comments</title>
	<atom:link href="http://php4every1.com/tutorials/ajax-multi-level-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://php4every1.com/tutorials/ajax-multi-level-comments/</link>
	<description>Blog with PHP, MySQL and other tutorials. You can also download my scripts, report a bug or leave a feedback.</description>
	<lastBuildDate>Wed, 01 Sep 2010 10:29:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: bahram davodi</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-5202</link>
		<dc:creator>bahram davodi</dc:creator>
		<pubDate>Sat, 31 Jul 2010 20:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-5202</guid>
		<description>thaks script.

janual says:

Open file: comments.php

Find Lin 48

Code:

http://tutoriali/multiLevelComments

Change to 

Your Site Link.</description>
		<content:encoded><![CDATA[<p>thaks script.</p>
<p>janual says:</p>
<p>Open file: comments.php</p>
<p>Find Lin 48</p>
<p>Code:</p>
<p><a href="http://tutoriali/multiLevelComments" rel="nofollow">http://tutoriali/multiLevelComments</a></p>
<p>Change to </p>
<p>Your Site Link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-5007</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 26 Jul 2010 23:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-5007</guid>
		<description>No problem. Any time :).</description>
		<content:encoded><![CDATA[<p>No problem. Any time <img src='http://php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-5006</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Mon, 26 Jul 2010 23:36:55 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-5006</guid>
		<description>It works fine now. Thanks a lot for your time and attention.</description>
		<content:encoded><![CDATA[<p>It works fine now. Thanks a lot for your time and attention.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-5005</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 26 Jul 2010 23:25:51 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-5005</guid>
		<description>Well you should tweek it :).

If you take a look at &lt;em&gt;comments.php&lt;/em&gt; on line &lt;em&gt;48&lt;/em&gt; you&#039;ll see that in &lt;em&gt;href&lt;/em&gt; tag is &lt;em&gt;tutoriali/multiLevelComments/post.php?id=&lt;/em&gt; and you should change that to your actual URL :). Posting new comment works fine because we use in jQuery &lt;em&gt;post.php&lt;/em&gt; as destination.</description>
		<content:encoded><![CDATA[<p>Well you should tweek it <img src='http://php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>If you take a look at <em>comments.php</em> on line <em>48</em> you&#8217;ll see that in <em>href</em> tag is <em>tutoriali/multiLevelComments/post.php?id=</em> and you should change that to your actual URL <img src='http://php4every1.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Posting new comment works fine because we use in jQuery <em>post.php</em> as destination.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-5004</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Mon, 26 Jul 2010 23:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-5004</guid>
		<description>I did not get neither the output you sent to me on Firebug nor a message from &#039;error_reporting(0);&#039; command. 
I used your source code without touching that and would like to see the output same as your demo but the error is appeared after clicking on the reply hyperlink. Please advise me.</description>
		<content:encoded><![CDATA[<p>I did not get neither the output you sent to me on Firebug nor a message from &#8216;error_reporting(0);&#8217; command.<br />
I used your source code without touching that and would like to see the output same as your demo but the error is appeared after clicking on the reply hyperlink. Please advise me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-5002</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 26 Jul 2010 22:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-5002</guid>
		<description>Hmm, not sure. Did you check output in firebug. If request was success you should get something like &lt;a href=&quot;http://php4every1.com/asset/MultiLevelComments.PNG&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt;. If it was not and you got some errors in PHP you should get info about that error (and remove &lt;em&gt;error_reporintg(0);&lt;/em&gt;)</description>
		<content:encoded><![CDATA[<p>Hmm, not sure. Did you check output in firebug. If request was success you should get something like <a href="http://php4every1.com/asset/MultiLevelComments.PNG" rel="nofollow">this</a>. If it was not and you got some errors in PHP you should get info about that error (and remove <em>error_reporintg(0);</em>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-5001</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Mon, 26 Jul 2010 22:38:49 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-5001</guid>
		<description>I appreciate for your reply.
Based on what you said, I have installed Firebug and put &#039;error_reporting(0)&#039; on top of the db.php file, but it only shows &quot;There was an error.&quot; message.
The thing is that adding comments works fine, but only the reply has an issue.</description>
		<content:encoded><![CDATA[<p>I appreciate for your reply.<br />
Based on what you said, I have installed Firebug and put &#8216;error_reporting(0)&#8217; on top of the db.php file, but it only shows &#8220;There was an error.&#8221; message.<br />
The thing is that adding comments works fine, but only the reply has an issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marijan Šuflaj</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-4994</link>
		<dc:creator>Marijan Šuflaj</dc:creator>
		<pubDate>Mon, 26 Jul 2010 18:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-4994</guid>
		<description>There are 2 main reasons. 

&lt;ol&gt;
	&lt;li&gt;Request was not successfully sent&lt;/li&gt;
	&lt;li&gt;Data retrieved from server could not be translated to json&lt;/li&gt;
&lt;/ol&gt;

So my guess is that your PHP code has some errors and they are echoed and returned to JavaScript (with or without JSON part) and jQuery can not translate that response to JSON format. 

I suggest that you install Firebug and then see what you get as response or try adding &lt;i&gt;error_reporting(0);&lt;/i&gt; on top of &lt;i&gt;db.php&lt;/i&gt; file and see of you get some other part of code executed.</description>
		<content:encoded><![CDATA[<p>There are 2 main reasons. </p>
<ol>
<li>Request was not successfully sent</li>
<li>Data retrieved from server could not be translated to json</li>
</ol>
<p>So my guess is that your PHP code has some errors and they are echoed and returned to JavaScript (with or without JSON part) and jQuery can not translate that response to JSON format. </p>
<p>I suggest that you install Firebug and then see what you get as response or try adding <i>error_reporting(0);</i> on top of <i>db.php</i> file and see of you get some other part of code executed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-4993</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Mon, 26 Jul 2010 18:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-4993</guid>
		<description>Hi Marijan,

Thanks a lot for the sample and the demo. I have downloaded the source code from your website but after I run that on my machine, I found that the reply does not work. Whenever I click on &quot;reply&quot; I get the following message: 

&quot;There was an error.&quot;

This error comes from the following code:

&#039;error&#039; 	: function(XMLHttpRequest, textStatus, errorThrown) {
                $(&#039;#waiting&#039;).hide(500);
                $(&#039;#message&#039;).removeClass().addClass(&#039;error&#039;)
                .text(&#039;There was an error.&#039;).show(500);
                $(&#039;#demoForm&#039;).show(500);
            }

Could you please tell me what is the problem and how I can solve that.</description>
		<content:encoded><![CDATA[<p>Hi Marijan,</p>
<p>Thanks a lot for the sample and the demo. I have downloaded the source code from your website but after I run that on my machine, I found that the reply does not work. Whenever I click on &#8220;reply&#8221; I get the following message: </p>
<p>&#8220;There was an error.&#8221;</p>
<p>This error comes from the following code:</p>
<p>&#8216;error&#8217; 	: function(XMLHttpRequest, textStatus, errorThrown) {<br />
                $(&#8216;#waiting&#8217;).hide(500);<br />
                $(&#8216;#message&#8217;).removeClass().addClass(&#8216;error&#8217;)<br />
                .text(&#8216;There was an error.&#8217;).show(500);<br />
                $(&#8216;#demoForm&#8217;).show(500);<br />
            }</p>
<p>Could you please tell me what is the problem and how I can solve that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pratik</title>
		<link>http://php4every1.com/tutorials/ajax-multi-level-comments/comment-page-2/#comment-4587</link>
		<dc:creator>pratik</dc:creator>
		<pubDate>Mon, 05 Jul 2010 13:09:24 +0000</pubDate>
		<guid isPermaLink="false">http://php4every1.com/?p=379#comment-4587</guid>
		<description>nice work.keep it up....!!!</description>
		<content:encoded><![CDATA[<p>nice work.keep it up&#8230;.!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
