Jeff Stuart
|
| Posted: 07/06/2001, 12:46 AM |
|
Ok.. HELP! :D
Got a small problem here with PHP and the templates stuff! Here's the
situation.
I have a page where I want to display the order # and then in a table
inside, display all of the line items for that order #. Well, it works for
the first order. The second order then turns around and displays all of the
items for the first order and THEN displays the items for the second order.
Umm.. how do I tell it to clear out the info from the first order WITHOUT
losing the info for the first order. IE have it only display the items for
the first order and then on the second order, only display the items from
the second order, etc.
--
Jeff Stuart
jstuart@neo.rr.com
|
|
|
 |
Alexey Alexapolsky
|
| Posted: 07/07/2001, 9:58 AM |
|
use $tpl_>set_var("blockname"<"")
or see reply at gotocode.com
--
Alex
Jeff Stuart <jstuart-devel@neo.rr.com> wrote in message
news:9i3qch$614$1@news.codecharge.com...
> Ok.. HELP! :D
>
> Got a small problem here with PHP and the templates stuff! Here's the
> situation.
>
> I have a page where I want to display the order # and then in a table
> inside, display all of the line items for that order #. Well, it works
for
> the first order. The second order then turns around and displays all of
the
> items for the first order and THEN displays the items for the second
order.
> Umm.. how do I tell it to clear out the info from the first order WITHOUT
> losing the info for the first order. IE have it only display the items
for
> the first order and then on the second order, only display the items from
> the second order, etc.
>
> --
> Jeff Stuart
>jstuart@neo.rr.com
>
>
>
|
|
|
 |
Jeff Stuart
|
| Posted: 07/07/2001, 12:19 PM |
|
Alex, BLESS YOU!!! Ok... (I assume I call that every time in the outer loop
BEFORE I call the func to display the inner loop. :))
--
Jeff Stuart
jstuart@neo.rr.com
"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:9i7f2h$unp$1@news.codecharge.com...
> use $tpl_>set_var("blockname"<"")
> or see reply at gotocode.com
>
> --
> Alex
>
>
> Jeff Stuart <jstuart-devel@neo.rr.com> wrote in message
>news:9i3qch$614$1@news.codecharge.com...
> > Ok.. HELP! :D
> >
> > Got a small problem here with PHP and the templates stuff! Here's the
> > situation.
> >
> > I have a page where I want to display the order # and then in a table
> > inside, display all of the line items for that order #. Well, it works
> for
> > the first order. The second order then turns around and displays all of
> the
> > items for the first order and THEN displays the items for the second
> order.
> > Umm.. how do I tell it to clear out the info from the first order
WITHOUT
> > losing the info for the first order. IE have it only display the items
> for
> > the first order and then on the second order, only display the items
from
> > the second order, etc.
> >
> > --
> > Jeff Stuart
> >jstuart@neo.rr.com
> >
> >
> >
>
>
|
|
|
 |
|