Hello,
I'm pulling dropdown list values from a db and want to use only one query, so I've got the following (which isn't working...PHP4.1.1):
while (!$result->EOF) {
$tmp=$result->fields[3]."_dropdown_array";
$$tmp[count($$tmp)]=$result->fields[5];
$result->MoveNext();
}
I've already declared the arrays, ie:
$APPLICATION_DESIGN_dropdown_array=array();
and a value for fields[3] is "APPLICATION_DESIGN" To debug, "print $$tmp" printed out "Array", as expected, but count($APPLICATION_DESIGN_dropdown_array) remains 0, even though there are 10 rows with this in field 3. Any ideas? By the way, I use ADODB classes.
Thanks,
Biggus