[PHP] Re: Smarty and PEAR DB

2005-04-11 Thread Lester Caine
Matthew Weier O'Phinney wrote: As you can see I need the COUNT value but I not know how get it from = query using PEAR. Some body can help me? You'll need to do two different queries, one that counts the number of total results for the criteria, and one that pulls the set with a LIMIT statement. Of

Re: [PHP] Re: Smarty and PEAR DB

2005-04-11 Thread Matthew Weier O'Phinney
* D. Wokan <[EMAIL PROTECTED]>: > Matthew Weier O'Phinney wrote: > > * Reynier Perez Mira <[EMAIL PROTECTED]>: > > > > > I'm using PEAR DB and Smarty. The case is that I have to pass a value = > > > from a query result to a Smarty var. I try to paginate results. See the = > > > code below: > > >

Re: [PHP] Re: Smarty and PEAR DB

2005-04-11 Thread D. Wokan
Matthew Weier O'Phinney wrote: * Reynier Perez Mira <[EMAIL PROTECTED]>: I'm using PEAR DB and Smarty. The case is that I have to pass a value = from a query result to a Smarty var. I try to paginate results. See the = code below:

[PHP] Re: Smarty and PEAR DB

2005-04-11 Thread Matthew Weier O'Phinney
* Reynier Perez Mira <[EMAIL PROTECTED]>: > I'm using PEAR DB and Smarty. The case is that I have to pass a value = > from a query result to a Smarty var. I try to paginate results. See the = > code below: > > /= > > SmartyPagi