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
* 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:
> > >
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:
* 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
4 matches
Mail list logo