I am loading the $brandids array and the $subcatids array in a while loop with a sqlsrv_fetch_array. Both dropdowns have the correct values. It seems like the problem is wit