> At 02:31 14/04/00 +0200, you wrote:
> >This type of functionality has already been coded in the
> >admin_department screen.  I've been trying to rewrite the quick_order
> >screen so that it recursively lists all of the departments and their
> >items so that you can add anything to your basket from the one page
> >(naturally, I've been lagging due to lack of time).  Nonetheless, what
> >I'm saying is, you may use the code in admin_department as a guide for
> >doing what you're looking for.
> 
> Thanks for the tip, I want to recurse through departments, can do it in
> Perl but haven't quite wrapped my head around php and recursion.
To provide a quick summary, I don't make calls to the database
recursively, because that would take too long.  Rather, I pull just a
few variables about every department into memory, and then I recursively
move through that structure.

-jj

-- 
if (shannon - jj) * behrens == webEngineer["CLEAR INK�"]:
    print "<i>imagination is the only real medium(sm)</i><br>"


------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to