Mailing List Archive



Back to the month index Back to the list index

David J. Hughes (bambi@Hughes.com.au)
Wed, 7 Apr 1999 10:54:24 +1000 (EST)


Date: Wed, 7 Apr 1999 10:54:24 +1000 (EST)
From: "David J. Hughes" <bambi@Hughes.com.au>
Subject: Re: Lite / Form Question
Message-ID: <Pine.BSF.3.96.990407105154.518A-100000@fawn.hughes.com.au>

On Wed, 31 Mar 1999, Corey Sanders wrote:

> More realistically, from looking at the code, would be to have an array
> that contains all the form data. That, coupled with the existing system,
> could create a large memory footprint, but the ability to access form data
> as a set of information would be valuable.

One thing we've been playing with in the research code is dereferenced
variables. So you can do something like

        $varName = "$foo";
        $varValue = $$varName;

Also, we've looked at providing an array of all the form data variable
names being passed into a script. That way you could do something like

        $loop = 0;
        while ($loop < # $W3MSQL_DATA)
        {
                $val = $$W3MSQL_DATA[$loop];
                $loop++;
        }

If this sort of thing is important to the userbase then it'll make it into
the 2.1 code.

Bambi
...