RE: [SMARTY] Paging - a side note
| From: | Rod Kreisler | Date: | Thu, 12 Dec 2002 23:15:23 +0000 |
| Subject: | RE: [SMARTY] Paging - a side note | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6789@lists.php.net to get a copy of this message | ||
We're using it on a production server due to the need for fulltext indexing.
I've found it to be just as stable as 3.23.xx
Of course, the search engine is the only thing running on it... we use
Postgres for almost everything else.
Rod
> -----Original Message-----
> From: gawan [mailto:mail@gawan.net]
> Sent: Thursday, December 12, 2002 5:25 PM
> To: smarty-general@lists.php.net
> Subject: Re: [SMARTY] Paging - a side note
>
>
> Hei, thats a good news, thank you for the tip.
> I did not know that as I am still using version 3.xxx.
> Version 4.0+ is still not recommended for production use is it?
> This is off topic, but are there people in this forum using version 4+, in
> production environment, that is?
>
> Yrjo
> ----- Original Message -----
> From: "Monte Ohrt" <monte@ispi.net>
> To: "Yrjö Mäenpää" <yrjo.maenpaa@dlc.fi>
> Cc: <smarty-general@lists.php.net>
> Sent: Thursday, December 12, 2002 11:17 PM
> Subject: Re: [SMARTY] Paging - a side note
>
>
> > For MySQL users, v4.0+ has functions CALC_FOUND_ROWS() and
> > SELECT_FOUND_ROWS() that does exactly what you want. But that doesn't
> > mean much regarding how it works with a template :-)
> >
> > mysql> SELECT SQL_CALC_FOUND_ROWS * FROM tbl_name
> > WHERE id > 100 LIMIT 10;
> > mysql> SELECT FOUND_ROWS();
> >
> > http://www.mysql.com/doc/en/Miscellaneous_functions.html
> >
> > Monte
> >
> >
>