我在 Authorize.net 网关上工作我需要为逐项账单创建下面的数组
$sql= "select * from shop where cusid = '1'";
$sqlexc= mysql_query($sql) or die(mysql_error());
$line_items = array();
while ($title = mysql_fetch_array($sqlexc)) {
$line_items[] = ('Coupon',' $title[6]', '1', '0.99', 'Y');
}
如何创建以下类型的数组
/* $line_items = array(
"Coupon1','description','2','10.99','Y'",
"Coupon2','description','2','10.99','Y'",
"Coupon3','description','2','10.99','Y'",);*/