<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Useful scripts | php, asp, Dot Net, Java, Perl, JavaScript and other Basic and Advanced scripts</title>
	<atom:link href="http://usefulscripts.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://usefulscripts.wordpress.com</link>
	<description>the scripts which are found rarely on the internet but needed often</description>
	<lastBuildDate>Mon, 27 Apr 2009 09:43:35 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on window.onbeforeunload javascript code by ubk</title>
		<link>http://usefulscripts.wordpress.com/2007/10/16/window-onbeforeunload-javascript-code/#comment-112</link>
		<dc:creator>ubk</dc:creator>
		<pubDate>Mon, 27 Apr 2009 09:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://usefulscripts.wordpress.com/2007/10/16/windowonbeforeunload-javascript-code/#comment-112</guid>
		<description>You can get the user response from Confirm message box only in this way:

answer = confirm(&quot;Do you really want to go here?&quot;)

if (answer !=0)
{
//User clicked OK
//Do your work
}

If you need better response types you can migrate into ASP.NET</description>
		<content:encoded><![CDATA[<p>You can get the user response from Confirm message box only in this way:</p>
<p>answer = confirm(&#8220;Do you really want to go here?&#8221;)</p>
<p>if (answer !=0)<br />
{<br />
//User clicked OK<br />
//Do your work<br />
}</p>
<p>If you need better response types you can migrate into ASP.NET</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to create a search functionality with php mysql by ubk</title>
		<link>http://usefulscripts.wordpress.com/2007/10/29/how-to-create-a-search-functionality-with-php-mysql/#comment-111</link>
		<dc:creator>ubk</dc:creator>
		<pubDate>Mon, 27 Apr 2009 09:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://usefulscripts.wordpress.com/2007/10/29/how-to-create-a-search-functionality-with-php-mysql/#comment-111</guid>
		<description>Hi &quot;mrsyardbroom&quot;

All the trick is in the limit query
$query = &quot;select * from the_table where 1st_field like \&quot;%$trimmed%\&quot; order by 1st_field&quot;;
$query .= &quot; limit $s,$limit&quot;;

so the final query becomes:
$query = &quot;select * from the_table where 1st_field like \&quot;%$trimmed%\&quot; order by 1st_field limit $s,$limit&quot;;

Now, after getting $s and $limit (I think it is set to 10) you first try to execute the query in your database to see if it returns exact results are not.

If it returns result as expected then see the code for any bugs. 
I hope you will find your way.</description>
		<content:encoded><![CDATA[<p>Hi &#8220;mrsyardbroom&#8221;</p>
<p>All the trick is in the limit query<br />
$query = &#8220;select * from the_table where 1st_field like \&#8221;%$trimmed%\&#8221; order by 1st_field&#8221;;<br />
$query .= &#8221; limit $s,$limit&#8221;;</p>
<p>so the final query becomes:<br />
$query = &#8220;select * from the_table where 1st_field like \&#8221;%$trimmed%\&#8221; order by 1st_field limit $s,$limit&#8221;;</p>
<p>Now, after getting $s and $limit (I think it is set to 10) you first try to execute the query in your database to see if it returns exact results are not.</p>
<p>If it returns result as expected then see the code for any bugs.<br />
I hope you will find your way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to create a search functionality with php mysql by mrsyardbroom</title>
		<link>http://usefulscripts.wordpress.com/2007/10/29/how-to-create-a-search-functionality-with-php-mysql/#comment-105</link>
		<dc:creator>mrsyardbroom</dc:creator>
		<pubDate>Fri, 27 Feb 2009 19:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://usefulscripts.wordpress.com/2007/10/29/how-to-create-a-search-functionality-with-php-mysql/#comment-105</guid>
		<description>I can&#039;t get the first script to work.  I&#039;ve been trying to tweak this for ages but all I can get is the first page of results from my database.  If I click on the next link it says s=10 and q=whatever query has been entered in the search box but it still gives me the frist page of results.  Any help on this would be much appreciated.   I haven&#039;t tried the second and supposedly working script.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t get the first script to work.  I&#8217;ve been trying to tweak this for ages but all I can get is the first page of results from my database.  If I click on the next link it says s=10 and q=whatever query has been entered in the search box but it still gives me the frist page of results.  Any help on this would be much appreciated.   I haven&#8217;t tried the second and supposedly working script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Search Engine Optimizatin or SEO. Get your Site listed in Search Engines by amalj</title>
		<link>http://usefulscripts.wordpress.com/search-engine-optimizatin-or-seo-get-your-site-listed-in-search-engines/#comment-104</link>
		<dc:creator>amalj</dc:creator>
		<pubDate>Tue, 24 Feb 2009 12:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://usefulscripts.wordpress.com/?page_id=34#comment-104</guid>
		<description>Hi friend, your information really helpful to me, i learn lot from ur article.

amalraj01@gmail.com, this is my mail id, i need ur help to learn seo.</description>
		<content:encoded><![CDATA[<p>Hi friend, your information really helpful to me, i learn lot from ur article.</p>
<p><a href="mailto:amalraj01@gmail.com">amalraj01@gmail.com</a>, this is my mail id, i need ur help to learn seo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Browser detection and Redirection using Javascript by eanirudh</title>
		<link>http://usefulscripts.wordpress.com/2007/10/26/browser-detection-and-redirection-using-javascript/#comment-94</link>
		<dc:creator>eanirudh</dc:creator>
		<pubDate>Tue, 27 Jan 2009 07:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://usefulscripts.wordpress.com/2007/10/26/browser-detection-and-redirection-using-javascript/#comment-94</guid>
		<description>really useful post
thank u</description>
		<content:encoded><![CDATA[<p>really useful post<br />
thank u</p>
]]></content:encoded>
	</item>
</channel>
</rss>
