<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021627" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021627</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/need-some-code-using-phpmysql#comment-1133330</link>
    <description> &lt;p&gt;Ah ok... I&#039;ll try that.  &lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Jun 2003 18:03:07 +0000</pubDate>
 <dc:creator>section31</dc:creator>
 <guid isPermaLink="false">comment 1133330 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/need-some-code-using-phpmysql#comment-1133328</link>
    <description> &lt;p&gt;by using the select Found_rows() you will have the total numbers of row you divid it by 100 round up and you get how many link you need to put. then on link 2 put min limit 100 on link 3 put min limit 200 etc...&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Jun 2003 17:57:50 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1133328 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/need-some-code-using-phpmysql#comment-1133327</link>
    <description> &lt;p&gt;Yeah I knew about the LIMIT option but the # of rows is dynamic so how would I get it to have like page numbers in the bottom to print a certain number of rows when clicked.&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Jun 2003 17:53:53 +0000</pubDate>
 <dc:creator>section31</dc:creator>
 <guid isPermaLink="false">comment 1133327 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/need-some-code-using-phpmysql#comment-1133326</link>
    <description> &lt;p&gt;for the request the SQL should look like this on the firstpage&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT address,datetime, referer FROM stats where id=&#039;1&#039; LIMIT 0,100\&quot;;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;this will limit the response from the server to the first 100 rows to get the &lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT address,datetime, referer FROM stats where id=&#039;1&#039; LIMIT 100,100\&quot;;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;this will give you rows from 100 to 200&lt;br /&gt;
here is the sytax for limit&lt;/p&gt;
&lt;p&gt;LIMIT startrecord, numrecord&lt;/p&gt;
&lt;p&gt;if you have mySQL 4 or greater use this to get the total number of record and then you can display your links based on that&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT SQL_CALC_FOUND_ROWS address,datetime, referer FROM stats where id=&#039;1&#039; LIMIT 0,100\&quot;;&lt;br /&gt;\&quot;Select FOUND_ROWS()\&quot;;&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 20 Jun 2003 17:49:13 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1133326 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
