Paging Records Help please
| From: | Jim MacDiarmid | Date: | Sun, 09 Jan 2005 16:58:24 +0000 |
| Subject: | Paging Records Help please | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12128@lists.php.net to get a copy of this message | ||
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.
Are there any examples of how to do this?
TIA,
Jim
-----Original Message-----
From: Martin Braun [mailto:uvsm@stud.uni-karlsruhe.de]
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öhrke 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