Re: [SMARTY] large result sets
| From: | Robert Amos | Date: | Fri, 30 Jul 2004 15:57:26 +0000 |
| Subject: | Re: [SMARTY] large result sets | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11653@lists.php.net to get a copy of this message | ||
You can use assign_by_ref() instead of plain old assign to use a
reference, so you have one copy of the data instead of two.
-bok
On Fri, 30 Jul 2004 11:04:17 -0400, Travis Low <travis@dawnstar.com> wrote:
> How does one handle very large result sets in Smarty? Normally, I try to page
> DB results, but I have a client who wants to generate a very large page in the
> browser. If I have to assign everything first, I run out of memory. Is there
> a way to use Smarty to pull the results from the db, or should I just write a
> vanilla PHP page for that?
>
> cheers,
>
> Travis
>
> --
> Travis Low
> <mailto:travis@dawnstar.com>
> <http://www.dawnstar.com>
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>