ps: here is the array written out that I am trying to create from my database so I can use it later. $NQ.... are the variables that are going to change. Basically I have a control file w/ 400+ numbered questions, which someone will be able to select upto 25 of those questions for a vendor to answer and I need to populate this array with the questions asked for the corresponding vendor.
<?PHP
$inparms = array("VNDR" => "$NVNDR",
"NITEM" => "$NITEM",
"NQ1" => "$NQ1",
"NQ2" => "$NQ2",
"NQ3" => "$NQ3",
"NQ4" => "$NQ4",
"NQ5" => "$NQ5",
"NQ6" => "$NQ6",
"NQ7" => "$NQ7",
"NQ8" => "$NQ8",
"NQ9" => "$NQ9",
"NQ10" => "$NQ10",
"NQ11" => "$NQ11",
"NQ12" => "$NQ12",
"NQ13" => "$NQ13",
"NQ14" => "$NQ14",
"NQ15" => "$NQ15",
"NQ16" => "$NQ16",
"NQ17" => "$NQ17",
"NQ18" => "$NQ18",
"NQ19" => "$NQ19",
"NQ20" => "$NQ20",
"NQ21" => "$NQ21",
"NQ22" => "$NQ22",
"NQ23" => "$NQ23",
"NQ24" => "$NQ24",
"NQ25" => "$NQ25"
);?>
forgot to add that before