<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4356457360167243215.post7734041448494617717..comments</id><updated>2009-10-30T14:23:58.238+11:00</updated><category term='resize'/><category term='images'/><category term='flash'/><category term='calendar'/><category term='discussion'/><category term='replacement'/><category term='plug-ins'/><category term='User Voice'/><category term='flot'/><category term='icons'/><category term='news'/><category term='free'/><category term='commercial'/><category term='stylesheet'/><category term='on'/><category term='UI'/><category term='projects'/><category term='art'/><category term='analytics'/><category term='uservoice'/><category term='open source'/><category term='selectable'/><category term='draggable'/><category term='chrome'/><category term='PHPMailer'/><category term='google docs'/><category term='firefox'/><category term='submit'/><category term='RSS'/><category term='css'/><category term='js'/><category term='tips'/><category term='sales'/><category term='apps'/><category term='function'/><category term='255 characters'/><category term='video'/><category term='TCPDF'/><category term='authorize'/><category term='work'/><category term='variables'/><category term='sort'/><category term='aspect ratio'/><category term='multiple'/><category term='sites'/><category term='asp'/><category term='weather'/><category term='MSSQL'/><category term='table'/><category term='business'/><category term='jQuery'/><category term='select'/><category term='mysql'/><category term='toggle'/><category term='sortable'/><category term='arrays'/><category term='security'/><category term='web devlopment'/><category term='selected'/><category term='example'/><category term='information'/><category term='Gmail'/><category term='sydphp'/><category term='more'/><category term='SSO'/><category term='links'/><category term='IIS'/><category term='teams'/><category term='scrollTop'/><category term='wordpress'/><category term='pdf'/><category term='industry'/><category term='employment'/><category term='trac'/><category term='personal development'/><category term='tutorials'/><category term='sign'/><category term='opinion'/><category term='software'/><category term='flickr'/><category term='1.4'/><category term='color'/><category term='large'/><category term='marketing'/><category term='design'/><category term='version control'/><category term='CDN'/><category term='beginning'/><category term='widget'/><category term='remove'/><category term='svn'/><category term='google'/><category term='subversion'/><category term='articles'/><category term='resizer'/><category term='mail'/><category term='Twitter'/><category term='podcast'/><category term='javascript'/><category term='inline'/><category term='hooks'/><category term='apple'/><category term='manipulation'/><category term='IT'/><category term='iconset'/><category term='AJAX'/><category term='change'/><category term='option'/><category term='christmas'/><category term='explorer'/><category term='input'/><category term='video player'/><category term='graphs'/><category term='advertising'/><category term='dump'/><category term='youtube'/><category term='paragraph'/><category term='graph'/><category term='conference'/><category term='form'/><category term='jQuery-UI'/><category term='tortoisesvn'/><category term='addons'/><category term='download'/><category term='social networking'/><category term='SMTP'/><category term='zebra'/><category term='plugin'/><category term='browser'/><category term='graphing'/><category term='script'/><category term='forms'/><category term='windows'/><category term='animate'/><category term='image'/><category term='firewall'/><category term='JSON'/><category term='menu'/><category term='learning'/><category term='usability'/><category term='repository'/><category term='authorization'/><category term='elements'/><category term='branching'/><category term='extensions'/><category term='POP3'/><category term='wallpaper'/><category term='php'/><category term='livequery'/><category term='tutorial'/><category term='jQuery 1.4'/><category term='games'/><category term='single'/><category term='LEGO'/><category term='size'/><category term='careers'/><category term='font'/><category term='post'/><category term='context'/><category term='API'/><category term='databases'/><category term='pagination'/><category term='add-ons'/><category term='minify'/><category term='manipulating'/><category term='search'/><category term='tablesorter'/><category term='microsoft'/><category term='index'/><category term='standards'/><category term='IE'/><category term='tagging'/><category term='sqlsrv'/><category term='social media'/><category term='inline editing'/><category term='cheatsheet'/><category term='droppable'/><category term='data'/><category term='less'/><category term='beginner'/><title type='text'>Comments on myphpetc: Easy pagination with jQuery and Ajax</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.myphpetc.com/feeds/7734041448494617717/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html'/><author><name>.</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-3285087890415949827</id><published>2009-10-30T14:23:58.238+11:00</published><updated>2009-10-30T14:23:58.238+11:00</updated><title type='text'>Is there an easy way to add first and last link an...</title><content type='html'>Is there an easy way to add first and last link and to disable them when necessary?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/3285087890415949827'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/3285087890415949827'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256873038238#c3285087890415949827' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1965357194'/></entry><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-178670680357567190</id><published>2009-10-28T02:44:38.338+11:00</published><updated>2009-10-28T02:44:38.338+11:00</updated><title type='text'>Thank you, Tim.  I finally got it working.</title><content type='html'>Thank you, Tim.  I finally got it working.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/178670680357567190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/178670680357567190'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256658278338#c178670680357567190' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1113098959'/></entry><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-6222080136486718683</id><published>2009-10-27T18:09:48.878+11:00</published><updated>2009-10-27T18:09:48.878+11:00</updated><title type='text'>Hi Rami,

I had a look at your code and I now real...</title><content type='html'>Hi Rami,&lt;br /&gt;&lt;br /&gt;I had a look at your code and I now realise what you are telling me, my code provides blank links when there is less than 5 pages worth of results. So thanks for your solution.&lt;br /&gt;&lt;br /&gt;For anonymous I have now provided the source code of this tutorial which can now be downloaded &lt;a href="http://sites.google.com/site/myphpetc/Home/pagination.zip?attredirects=0&amp;amp;d=1" rel="nofollow"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;You just need to fill in the database connection details that I have blanked out with stars ******</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/6222080136486718683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/6222080136486718683'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256627388878#c6222080136486718683' title=''/><author><name>Tim Radnidge</name><uri>http://www.blogger.com/profile/13540142870717108845</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1669886494'/></entry><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-2794219782853035690</id><published>2009-10-27T11:42:12.823+11:00</published><updated>2009-10-27T11:42:12.823+11:00</updated><title type='text'>I guess my php file is not working.  I haven&amp;#39;t...</title><content type='html'>I guess my php file is not working.  I haven&amp;#39;t change anything except for the database connection.  Is there a trick to that file?  As I said earlier I know little about php.  I am trying to use this tutorial for education purposes but am unable to. Is there anything else I should add to the php file?  I do have index.html and page.js.  I wonder what I&amp;#39;m doing wrong.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/2794219782853035690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/2794219782853035690'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256604132823#c2794219782853035690' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1113098959'/></entry><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-2385033382538143269</id><published>2009-10-26T19:53:42.277+11:00</published><updated>2009-10-26T19:53:42.277+11:00</updated><title type='text'>Hi Rami,

Thanks for that. The less than five case...</title><content type='html'>Hi Rami,&lt;br /&gt;&lt;br /&gt;Thanks for that. The less than five case was the first that I wrote and I forgot to test afterwards.&lt;br /&gt;&lt;br /&gt;Apologies for the lack of testing, will update soon.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/2385033382538143269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/2385033382538143269'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256547222277#c2385033382538143269' title=''/><author><name>Tim Radnidge</name><uri>http://www.blogger.com/profile/13540142870717108845</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1669886494'/></entry><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-7851570182553075369</id><published>2009-10-26T10:55:35.882+11:00</published><updated>2009-10-26T10:55:35.882+11:00</updated><title type='text'>thanks a lot, i really like it

&amp;gt;&amp;gt;

but when...</title><content type='html'>thanks a lot, i really like it&lt;br /&gt;&lt;br /&gt;&amp;gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;but when u have DATA less than 5 pages it provide empty links !&lt;br /&gt;&lt;br /&gt;so i modify the javascript&amp;#39;s first &amp;quot;IF&amp;quot; to something like :&lt;br /&gt;---------------------------------&lt;br /&gt;if (pages &amp;lt;= 5) { &lt;br /&gt;  for (i = pages; i &amp;gt;1; i--) {&lt;br /&gt;   &lt;br /&gt;  $(&amp;quot;#content&amp;quot;).after(&amp;quot;a href=&amp;#39;#&amp;#39; clas s=&amp;#39;pagor&amp;#39;&amp;gt;&amp;quot; + i + &amp;quot;/a&amp;gt;&amp;quot;)};&lt;br /&gt;  $(&amp;quot;#content&amp;quot;).after(&amp;quot;a href=&amp;#39;#&amp;#39; clas s=&amp;#39;pagor selected&amp;#39;&amp;gt;1/a&amp;gt;&amp;quot;);&lt;br /&gt;&lt;br /&gt;  $(&amp;quot;.pagor&amp;quot;).click(function() {&lt;br /&gt;   var index = $(&amp;quot;.pagor&amp;quot;).index(this);&lt;br /&gt;   $(&amp;quot;#content&amp;quot;).load(&amp;quot;loaddata.php?action=get_rows&amp;amp;start=&amp;quot; + index);&lt;br /&gt;   $(&amp;quot;.pagor&amp;quot;).removeClass(&amp;quot;selected&amp;quot;);&lt;br /&gt;   $(this).addClass(&amp;quot;selected&amp;quot;);&lt;br /&gt;  });  &lt;br /&gt; } &lt;br /&gt;----------------------------------&lt;br /&gt;and it works for me :)&lt;br /&gt;maybe u can check this out !</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/7851570182553075369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/7851570182553075369'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256514935882#c7851570182553075369' title=''/><author><name>Rami</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1484869675'/></entry><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-2117947090441703084</id><published>2009-10-23T08:32:54.970+11:00</published><updated>2009-10-23T08:32:54.970+11:00</updated><title type='text'>Hi Anonymous,

The full source for this example is...</title><content type='html'>Hi Anonymous,&lt;br /&gt;&lt;br /&gt;The full source for this example is available, except for the database connection details which you can place inside the commented out section // Database connection details&lt;br /&gt;&lt;br /&gt;As for the database, I just have an ID, firstname and lastname. You can get some dummy data for your database &lt;a href="http://www.generatedata.com" rel="nofollow"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you have a look at the source for the demo you will have full access to the javascript and the html and you just place your php file in the same directory.&lt;br /&gt;&lt;br /&gt;If you have a go and still have issues I am happy to have a look if you can host your attempt on the web.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Tim.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/2117947090441703084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/2117947090441703084'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256247174970#c2117947090441703084' title=''/><author><name>Tim Radnidge</name><uri>http://www.blogger.com/profile/13540142870717108845</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1669886494'/></entry><entry><id>tag:blogger.com,1999:blog-4356457360167243215.post-7080974407083475081</id><published>2009-10-23T06:21:40.767+11:00</published><updated>2009-10-23T06:21:40.767+11:00</updated><title type='text'>I am having difficulty implementing your code.  I ...</title><content type='html'>I am having difficulty implementing your code.  I am new to PHP an know very little about js.  When I try to view the page it gives me error:&lt;br /&gt;&lt;br /&gt;tags to the columns &amp;#39;firstname lastname&amp;#39; for each row then return this as a single string } ?&amp;gt;&lt;br /&gt;&lt;br /&gt;What is the structure of the database you have for this tutorial?  I assume is names with id, firstname and lastname.  What&amp;#39;s $employees?&lt;br /&gt;&lt;br /&gt;What am I doing wrong?  Can you please be more precise as to where to place what in a page.  I have page.js and loaddata.php.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/7080974407083475081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4356457360167243215/7734041448494617717/comments/default/7080974407083475081'/><link rel='alternate' type='text/html' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html?showComment=1256239300767#c7080974407083475081' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.myphpetc.com/2009/10/easy-pagination-with-jquery-and-ajax.html' ref='tag:blogger.com,1999:blog-4356457360167243215.post-7734041448494617717' source='http://www.blogger.com/feeds/4356457360167243215/posts/default/7734041448494617717' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-733499860'/></entry></feed>
