私は 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'",);*/