我希望我的最终结果看起来像:
Vendor1 => 'description1,description2,description3',
Vendor2 => 'description4,description5,description6'
我目前有这样的事情:
if(mssql_num_rows($execute)){
while($row = mssql_fetch_array($execute)){
$dropdown[$row['VendorName']] .= "'" . $row['Transaction Description'] . "',";
}
}
但这给了我:
["Harland Financial Solutions"]=>
string(54) "'Software-implemention/license/support','sfw support',"