<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>How-To Geek Forums Topic: any PHP geeks out there?</title>
<link>http://www.howtogeek.com/forum/</link>
<description>How-To Geek Forums Topic: any PHP geeks out there?</description>
<language>en</language>
<pubDate>Thu, 08 Jan 2009 23:46:41 +0000</pubDate>

<item>
<title>pipo on "any PHP geeks out there?"</title>
<link>http://www.howtogeek.com/forum/topic/any-php-geeks-out-there#post-41364</link>
<pubDate>Sun, 10 Aug 2008 02:07:13 +0000</pubDate>
<dc:creator>pipo</dc:creator>
<guid isPermaLink="false">41364@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;so what i do is have 2 loops, one that displays the start of the pages (1 &#124; 2 &#124; 3) and another to display the last 3 pages (8 &#124; 9 &#124; 10), that's clever, hehe.&#60;/p&#62;
&#60;p&#62;thanks wallaceb, i'm gonna work on that and try to see how to fit the [Last page] [Prev] [Next] [First page] in.
&#60;/p&#62;</description>
</item>
<item>
<title>wallaceb on "any PHP geeks out there?"</title>
<link>http://www.howtogeek.com/forum/topic/any-php-geeks-out-there#post-41254</link>
<pubDate>Sat, 09 Aug 2008 19:59:26 +0000</pubDate>
<dc:creator>wallaceb</dc:creator>
<guid isPermaLink="false">41254@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;i have written code that does that&#60;/p&#62;
&#60;p&#62;basically in a nut shell, you say how many actual pages links you want&#60;/p&#62;
&#60;p&#62;1 &#124; 2 &#124;3&#124;......&#124;8 &#124;9&#124;10&#60;/p&#62;
&#60;p&#62;in the example above you want only 6 links to display&#60;br /&#62;
you use a for loop or some kind of loop that works well for you that does the first three links, when it knows it has done those three, then it will skip to $total_page_links -3;&#60;/p&#62;
&#60;p&#62;and then it will continue the loop&#60;/p&#62;
&#60;p&#62;$total_links = 10;&#60;br /&#62;
for ($x=0; $x&#38;lt;3; $x++)&#60;br /&#62;
{&#60;br /&#62;
print &#34;=&#60;a&#62;$x&#60;/a&#62;&#34;;&#60;br /&#62;
}//end for loop&#60;/p&#62;
&#60;p&#62;print &#34;....&#34;;&#60;/p&#62;
&#60;p&#62;for for ($x=$total_links-3; $x&#38;lt;$total_links; $x++)&#60;br /&#62;
{&#60;br /&#62;
print &#34;=&#60;a&#62;$x&#60;/a&#62;&#34;;&#60;br /&#62;
}//end for loop&#60;/p&#62;
&#60;p&#62;this is something i just quickly wrote up, is not complete, and probably wont work as is, but it should give you an idea.
&#60;/p&#62;</description>
</item>
<item>
<title>pipo on "any PHP geeks out there?"</title>
<link>http://www.howtogeek.com/forum/topic/any-php-geeks-out-there#post-41200</link>
<pubDate>Sat, 09 Aug 2008 18:09:29 +0000</pubDate>
<dc:creator>pipo</dc:creator>
<guid isPermaLink="false">41200@http://www.howtogeek.com/forum/</guid>
<description>&#60;p&#62;i'm a little rusty with my PHP and i've been trying to make this mini project, my prob is with the paging, i'm trying not to display all the page numbers when there's a lot of pages&#60;br /&#62;
ie. if i have 10 pages, what i'm displaying is &#34;1 2 3 4 5 6 7 8 9 10&#34; but what i want to do is displaying something like &#34;1 2 3 .... 8 9 10&#34;&#60;/p&#62;
&#60;p&#62;can anybody point me to a site that discusses that, i'm not really sure what keywords to type in google (i tried - php paging display &#34;...&#34; in page numbers multiple pages)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
