<?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: Paginate Your Site Like Digg</title>
	<atom:link href="http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 17 Aug 2009 02:07:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Linus</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-96</link>
		<dc:creator>Linus</dc:creator>
		<pubDate>Mon, 06 Jul 2009 09:00:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-96</guid>
		<description>You guys are great! thanks for this little tool. It really ease the work load</description>
		<content:encoded><![CDATA[<p>You guys are great! thanks for this little tool. It really ease the work load</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anu</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-74</link>
		<dc:creator>anu</dc:creator>
		<pubDate>Thu, 02 Jul 2009 05:43:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-74</guid>
		<description>Sir,

i impliment paging using your code.but now i am able to see links of all pages. but when i am clicking the corresponding page, i cant able to access the result.
only i got the result when the value of page=0. i think value of page is not coming properly.same thing i am using


$page = $_GET[&#039;page&#039;];
please help me</description>
		<content:encoded><![CDATA[<p>Sir,</p>
<p>i impliment paging using your code.but now i am able to see links of all pages. but when i am clicking the corresponding page, i cant able to access the result.<br />
only i got the result when the value of page=0. i think value of page is not coming properly.same thing i am using</p>
<p>$page = $_GET['page'];<br />
please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Niladri</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-56</link>
		<dc:creator>Niladri</dc:creator>
		<pubDate>Mon, 27 Apr 2009 04:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-56</guid>
		<description>Wonderful pagination script , I used it already, thanks a lot.</description>
		<content:encoded><![CDATA[<p>Wonderful pagination script , I used it already, thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yogesh</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-59</link>
		<dc:creator>Yogesh</dc:creator>
		<pubDate>Wed, 15 Apr 2009 11:40:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-59</guid>
		<description>thanks to this code .

       this is good coding..   I m implementing this code to my all sites that i had done..


Thanks a lot....</description>
		<content:encoded><![CDATA[<p>thanks to this code .</p>
<p>       this is good coding..   I m implementing this code to my all sites that i had done..</p>
<p>Thanks a lot&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Coleman</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-54</link>
		<dc:creator>Jason Coleman</dc:creator>
		<pubDate>Fri, 03 Apr 2009 14:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-54</guid>
		<description>First, folks with DB or other app issues, I&#039;m sorry I can&#039;t help you more. If you have the budget, you can contact us (use link in top menu), and we can take a look at your code at our consulting prices.

Secondly, someone emailed me with some minor updates to the code and CSS that offer better scaling/resize support for IE browsers. The code on the demo site has been updated.

Thanks!</description>
		<content:encoded><![CDATA[<p>First, folks with DB or other app issues, I&#8217;m sorry I can&#8217;t help you more. If you have the budget, you can contact us (use link in top menu), and we can take a look at your code at our consulting prices.</p>
<p>Secondly, someone emailed me with some minor updates to the code and CSS that offer better scaling/resize support for IE browsers. The code on the demo site has been updated.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Davide</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-42</link>
		<dc:creator>Davide</dc:creator>
		<pubDate>Sun, 08 Feb 2009 01:32:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-42</guid>
		<description>excuse the trite question, but where I take the code in my db?

What exactly should I enter in this part of the code? &quot;Place code to connect to your DB here.&quot;</description>
		<content:encoded><![CDATA[<p>excuse the trite question, but where I take the code in my db?</p>
<p>What exactly should I enter in this part of the code? &#8220;Place code to connect to your DB here.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nua</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-41</link>
		<dc:creator>nua</dc:creator>
		<pubDate>Wed, 28 Jan 2009 17:16:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-41</guid>
		<description>firstly,this is good coding..
but i have some problem.the page is always shows this error :

Use of undefined constant num - assumed &#039;num&#039;

this is my coding:

$query = &quot;SELECT COUNT(*) AS num FROM $tbl_name&quot;;
	$total_pages = mysql_fetch_array(mysql_query($query));
	$total_pages = $total_pages[num];

did i do anything wrong??please help me..actually,i&#039;m not very good in php..please help me..i need help coz this part is important to me..i need this ASAP..

Thanks..</description>
		<content:encoded><![CDATA[<p>firstly,this is good coding..<br />
but i have some problem.the page is always shows this error :</p>
<p>Use of undefined constant num &#8211; assumed &#8216;num&#8217;</p>
<p>this is my coding:</p>
<p>$query = &#8220;SELECT COUNT(*) AS num FROM $tbl_name&#8221;;<br />
	$total_pages = mysql_fetch_array(mysql_query($query));<br />
	$total_pages = $total_pages[num];</p>
<p>did i do anything wrong??please help me..actually,i&#8217;m not very good in php..please help me..i need help coz this part is important to me..i need this ASAP..</p>
<p>Thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sanya</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-40</link>
		<dc:creator>sanya</dc:creator>
		<pubDate>Sat, 13 Dec 2008 14:19:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-40</guid>
		<description>Am trying to use the pagination code but its not giving me any results. What am i missing. Nothing completly shows up. Please help me</description>
		<content:encoded><![CDATA[<p>Am trying to use the pagination code but its not giving me any results. What am i missing. Nothing completly shows up. Please help me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hakan</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-37</link>
		<dc:creator>hakan</dc:creator>
		<pubDate>Wed, 29 Oct 2008 17:28:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-37</guid>
		<description>Script works perfect if I want to select everything from the table. But When I chose certain categories from the table, first page comes ok. but other pages are empty.

I used this query

$query  = &quot;SELECT * FROM $tablename WHERE country=&#039;$country&#039; AND typeoffood=&#039;$typeoffood&#039;&quot;;

Another thing is, the number of pages that is showing is for  whole table because of this code I think:

$queryCount = &#039;SELECT count(*) FROM &#039;.$tablename;

I am very new to php. Can you help?</description>
		<content:encoded><![CDATA[<p>Script works perfect if I want to select everything from the table. But When I chose certain categories from the table, first page comes ok. but other pages are empty.</p>
<p>I used this query</p>
<p>$query  = &#8220;SELECT * FROM $tablename WHERE country=&#8217;$country&#8217; AND typeoffood=&#8217;$typeoffood&#8217;&#8221;;</p>
<p>Another thing is, the number of pages that is showing is for  whole table because of this code I think:</p>
<p>$queryCount = &#8216;SELECT count(*) FROM &#8216;.$tablename;</p>
<p>I am very new to php. Can you help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://www.strangerstudios.com/blog/2006/07/paginate-your-site-like-digg/comment-page-1/#comment-39</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Tue, 28 Oct 2008 09:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.strangerstudios.com/blog/2006/07/07/paginate-your-site-like-digg/#comment-39</guid>
		<description>Ubercool script, I made it work with jQuery at http://www.dealspost.com (scroll to the bottom). Only one glitch I have found: if you have a lot of records in the database (hundreds) and you set adjacents = 3 then on page 9 will dissappear link Next and pagination will not generate links to pages 10+ except for the last two pages. But if you change to adjacents=2 it works like a charm.

Thanks a lot for your work.
Joe</description>
		<content:encoded><![CDATA[<p>Ubercool script, I made it work with jQuery at <a href="http://www.dealspost.com" rel="nofollow">http://www.dealspost.com</a> (scroll to the bottom). Only one glitch I have found: if you have a lot of records in the database (hundreds) and you set adjacents = 3 then on page 9 will dissappear link Next and pagination will not generate links to pages 10+ except for the last two pages. But if you change to adjacents=2 it works like a charm.</p>
<p>Thanks a lot for your work.<br />
Joe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
