For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > January 2005 > Paging Records Help please









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Paging Records Help please
Jim MacDiarmid

2005-01-09, 3:58 pm

=20
I'm new to Smarty and I'm having some serious trouble getting adjusted =
to
how things work. I'm using the PEAR::DB object to pull data from my
database. I'd like to be able to show a paged list of the data. Will I =
need
to use 2 queries if I want to have a page index? One query for the page
index and one for the list? I'm attempting to use PEAR's DB_Pager.=20

Are there any examples of how to do this?

TIA,

Jim=20



-----Original Message-----
From: Martin Braun [mailto:uvsm@stud.uni-karlsruhe.de]=20
Sent: Sunday, January 09, 2005 11:37 AM
To: smarty-general@lists.php.net
Subject: Re: [SMARTY] Smarty Books

HarryG wrote:
> Does anybody know if there are books available on Smarty? All I have =

is
the smarty manual but would like to purchase some books if there are any =
out
there?

the only one I know is 'Besser PHP programmieren' by Carsten M=F6hrke =
and
AFAIK that's only available in german. It's actually about PHP in =
general.
Personally I thought it was junk.

But I do know that newer PHP books sometimes add sections on PEAR and
smarty. However, if you want something printed I recommend printing out =
the
manual :)

cheers
martin

--
/* no comment */

Please use my public PGP key: http://www.mbant.de/mbant-gpg-key

--
Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, =
visit:
http://www.php.net/unsub.php
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com