Hi,

I'm setting up ft and am having problems in ADD_ITEM/UPDATE_ITEM.

The select box for $inputDepartment doesn't seem to be working for me.

The HTML looks like this:

<SELECT NAME="inputDepartment[]" MULTIPLE SIZE="5">
  <OPTION VALUE="1">bikes
  <OPTION VALUE="2">blades
</SELECT>

At the top of ADD_ITEM, I add the following lines:

print "count=".count($inputDepartment)."<P>";
if (count($inputDepartment)>0)
{
        print "Dept=";
        for ($i=0; $i<9; $i++)
        {
                print $inputDepartment[$i];
        }
}

What I get is STRANGE:

count=1
Dept=Array


That's right.  I'm expecting a Dept value of 1|2 but I get the letters
Array in the first 5 positions of the array.  What am I missing here?

Thanks,
Van Vo





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

Reply via email to