如何将数组转换为CSV文件?
这是我的阵列:
stdClass Object
(
[OrderList_RetrieveByContactResult] => stdClass Object
(
[OrderDetails] => stdClass Object
(
[entityId] => 1025298
[orderId] => 10952
[orderName] => testing
[statusTypeId] => 4652
[countryCode] => AU
[orderType] => 1
[invoiceNumber] => 0
[invoiceDate] => 0001-01-01T00:00:00
[userID_AssignedTo] => 11711
[shippingAmount] => 8.95
[shippingTaxRate] => 0
[shippingAttention] =>
[shippingInstructions] =>
[shippingOptionId] => 50161
[discountCodeId] => 0
[discountRate] => 0
[totalOrderAmount] => 408.45
[directDebitTypeId] => 0
[directDebitDays] => 0
[isRecur] =>
[nextInvoiceDate] => 0001-01-01T00:00:00
[endRecurDate] => 0001-01-01T00:00:00
[cycleTypeID] => …Run Code Online (Sandbox Code Playgroud) 可能重复:
将数组转换为csv
嗨,
如何将数组转换为.txt文件?
这是我的阵列:
Array
(
[OrderList_RetrieveByContactResult] => Array
(
[OrderDetails] => Array
(
[0] => Array
(
[entityId] => 156456
[orderId] => 110631
[orderName] => testing2
[statusTypeId] => 15656
[countryCode] => AU
[orderType] => 2
[invoiceNumber] => 1001
[invoiceDate] => 2010-10-19T00:00:00
[userID_AssignedTo] => 245454
[shippingAmount] => 8.95
[shippingTaxRate] => 0
[shippingAttention] => tttesst
[shippingInstructions] => this a test
[shippingOptionId] => 50161
[discountCodeId] => 0
[discountRate] => 0
[totalOrderAmount] => 143.8
[directDebitTypeId] => 0
[directDebitDays] => 0
[isRecur] => …Run Code Online (Sandbox Code Playgroud) 我有ang 404代码,如果找不到页面,将重定向到该网站.它在firefox中正常工作.但是,当我使用Internet Explorer v6时.该网站将获得和错误措施:"HTTP 404 - 文件未找到Internet Explore".我怎样才能解决这个问题?任何帮助表示赞赏
谢谢