<?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: PHPLD: Approve all pending links</title>
	<atom:link href="http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/</link>
	<description>The Personal Weblog of Akshay Jain</description>
	<lastBuildDate>Fri, 11 Jun 2010 13:33:12 +0530</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PHPLD: Automatically remove spam submissions - Akshay Jain</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-182</link>
		<dc:creator>PHPLD: Automatically remove spam submissions - Akshay Jain</dc:creator>
		<pubDate>Wed, 18 Nov 2009 12:26:37 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-182</guid>
		<description>[...] is primarily an extension to this post: Approve all links. When you use the above code snippet it will automatically approve all links and all of you using [...]</description>
		<content:encoded><![CDATA[<p>[...] is primarily an extension to this post: Approve all links. When you use the above code snippet it will automatically approve all links and all of you using [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Puneet</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-165</link>
		<dc:creator>Puneet</dc:creator>
		<pubDate>Wed, 23 Sep 2009 09:59:10 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-165</guid>
		<description>Hi, Cool and nice blog you have, where can i get the same tags showing widget?</description>
		<content:encoded><![CDATA[<p>Hi, Cool and nice blog you have, where can i get the same tags showing widget?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: buy_vigrxplus</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-138</link>
		<dc:creator>buy_vigrxplus</dc:creator>
		<pubDate>Tue, 14 Jul 2009 12:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-138</guid>
		<description>Pretty cool post. I just stumbled upon your blog and wanted to say
that I have really liked reading your blog posts. Anyway
I’ll be subscribing to your blog and I hope you post again soon!</description>
		<content:encoded><![CDATA[<p>Pretty cool post. I just stumbled upon your blog and wanted to say<br />
that I have really liked reading your blog posts. Anyway<br />
I’ll be subscribing to your blog and I hope you post again soon!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akshay Jain</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-44</link>
		<dc:creator>Akshay Jain</dc:creator>
		<pubDate>Fri, 22 Aug 2008 09:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-44</guid>
		<description>@SubmitQueen : I tried it on the Free version only. That worked fine for me. 

Could you please let me know what is the exact error that you are getting?</description>
		<content:encoded><![CDATA[<p>@SubmitQueen : I tried it on the Free version only. That worked fine for me. </p>
<p>Could you please let me know what is the exact error that you are getting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: submitqueen</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-42</link>
		<dc:creator>submitqueen</dc:creator>
		<pubDate>Wed, 20 Aug 2008 09:07:25 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-42</guid>
		<description>I tried it on the phpld free version but it isnt working returning error could you plz let me know whether it works on free version or only on paid version so that i can be clarified whether it is my db error.
Thanks</description>
		<content:encoded><![CDATA[<p>I tried it on the phpld free version but it isnt working returning error could you plz let me know whether it works on free version or only on paid version so that i can be clarified whether it is my db error.<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heeren</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-38</link>
		<dc:creator>Heeren</dc:creator>
		<pubDate>Thu, 07 Aug 2008 08:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-38</guid>
		<description>Hi akshay ,

i tried it but it shows error 

SQL query:

DELETE FROM `PLD_LINK` WHERE `TITLE` ,
`DESCRIPTION` ,
`URL` LIKE ‘ % word1′ , % word% ’

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;`DESCRIPTION`,`URL` like  %word1%,%word% at line 1</description>
		<content:encoded><![CDATA[<p>Hi akshay ,</p>
<p>i tried it but it shows error </p>
<p>SQL query:</p>
<p>DELETE FROM `PLD_LINK` WHERE `TITLE` ,<br />
`DESCRIPTION` ,<br />
`URL` LIKE ‘ % word1′ , % word% ’</p>
<p>MySQL said: Documentation<br />
#1064 &#8211; You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;`DESCRIPTION`,`URL` like  %word1%,%word% at line 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akshay Jain</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-37</link>
		<dc:creator>Akshay Jain</dc:creator>
		<pubDate>Wed, 06 Aug 2008 15:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-37</guid>
		<description>Can u please try this ? 

delete from `PLD_LINK` where `TITLE`,`title`,`DESCRIPTION`,`URL` like &#039;%word1&#039;,%word2%&#039;;

This should work but I havent tried it personally.</description>
		<content:encoded><![CDATA[<p>Can u please try this ? </p>
<p>delete from `PLD_LINK` where `TITLE`,`title`,`DESCRIPTION`,`URL` like &#8216;%word1&#8242;,%word2%&#8217;;</p>
<p>This should work but I havent tried it personally.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seo services india</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-36</link>
		<dc:creator>seo services india</dc:creator>
		<pubDate>Mon, 04 Aug 2008 18:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-36</guid>
		<description>i want to deletelink details which contains some words (spam world pills c@sin0 etc )

at present i am executing these one by one .
~~~~~~~~
delete from `PLD_LINK` where `TITLE` like &#039;%word1%&#039;
delete from `PLD_LINK` where `title` like &#039;%word2%&#039;

delete from `PLD_LINK` where `DESCRIPTION` like &#039;%word2%&#039;
delete from `PLD_LINK` where `DESCRIPTION` like &#039;%word3%&#039;

delete from `PLD_LINK` where `URL` like &#039;%word1%&#039;
delete from `PLD_LINK` where `URL` like &#039;%word2%&#039;

~~~~~~~~


instead of doing all these one by one can i run one single query something like 

delete from `PLD_LINK` where `URL` &amp; `TITLE` &amp; `DESCRIPTION` like &#039;%word2%&#039;, &#039;%word2%&#039;

in short i want to delete link if any of the mentioned word found anywhere in title , url or description.

could have done these one by one but i neeed to do this no 100 + dirs thts y lookig for a better solution.</description>
		<content:encoded><![CDATA[<p>i want to deletelink details which contains some words (spam world pills c@sin0 etc )</p>
<p>at present i am executing these one by one .<br />
~~~~~~~~<br />
delete from `PLD_LINK` where `TITLE` like &#8216;%word1%&#8217;<br />
delete from `PLD_LINK` where `title` like &#8216;%word2%&#8217;</p>
<p>delete from `PLD_LINK` where `DESCRIPTION` like &#8216;%word2%&#8217;<br />
delete from `PLD_LINK` where `DESCRIPTION` like &#8216;%word3%&#8217;</p>
<p>delete from `PLD_LINK` where `URL` like &#8216;%word1%&#8217;<br />
delete from `PLD_LINK` where `URL` like &#8216;%word2%&#8217;</p>
<p>~~~~~~~~</p>
<p>instead of doing all these one by one can i run one single query something like </p>
<p>delete from `PLD_LINK` where `URL` &amp; `TITLE` &amp; `DESCRIPTION` like &#8216;%word2%&#8217;, &#8216;%word2%&#8217;</p>
<p>in short i want to delete link if any of the mentioned word found anywhere in title , url or description.</p>
<p>could have done these one by one but i neeed to do this no 100 + dirs thts y lookig for a better solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akshay Jain</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-35</link>
		<dc:creator>Akshay Jain</dc:creator>
		<pubDate>Mon, 04 Aug 2008 10:35:51 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-35</guid>
		<description>Sorry but I could not understand what you mean by multiple queries? 

Can u please explain?</description>
		<content:encoded><![CDATA[<p>Sorry but I could not understand what you mean by multiple queries? </p>
<p>Can u please explain?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Heeren Tanna</title>
		<link>http://akshayjain.org/blog/2008/07/phpld-approve-all-pending-links/comment-page-1/#comment-34</link>
		<dc:creator>Heeren Tanna</dc:creator>
		<pubDate>Mon, 04 Aug 2008 10:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://akshayjain.org/blog/?p=10#comment-34</guid>
		<description>hi ,

thx for the code but can u help how to execute multiple quiries .

like 

delete from `PLD_LINK` where `TITLE` like &#039;%word1%&#039; &#039;%word2%&#039;

same from `DESCRIPTION`&amp; `URL`</description>
		<content:encoded><![CDATA[<p>hi ,</p>
<p>thx for the code but can u help how to execute multiple quiries .</p>
<p>like </p>
<p>delete from `PLD_LINK` where `TITLE` like &#8216;%word1%&#8217; &#8216;%word2%&#8217;</p>
<p>same from `DESCRIPTION`&amp; `URL`</p>
]]></content:encoded>
	</item>
</channel>
</rss>
