Response: Array
(
[hitParsingResult] => Array
(
[0] => Array
(
[valid] => 1
[parserMessage] => Array
(
)
[hit] => /debug/collect?v=1&tid=UA-97031306-1&cid=2093695830.1486825085&uid=1&cos=3&col=FedEx&ec=Checkout&pa=checkout_option&ea=Option&t=event
)
)
ga('ec:setAction', 'checkout_option', {'step': 3, 'option': 'FedEx'});
ga('send', 'event', 'Checkout', 'Option');
тоже как бы все ок column1-1; column1-2;column1-3;column1-4
column1-4-1
column1-4-2
column1-4-3
column2-1; column2-2;column2-3;column2-4
column2-4-1
column2-4-2
$file = $_SERVER['DOCUMENT_ROOT'].'/import.csv';
if ($handle = fopen($file, "r")) {
while (($csv = fgetcsv($handle, 0, ';', '"','\\')) !== false) {
print_r($csv);
}
}
Array
(
[0] => column1-1
[1] => column1-2
[2] => column1-3
[3] => column1-4
)
Array
(
[0] =>
)
Array
(
[0] => column1-4-1
)
Array
(
[0] =>
)
Array
(
[0] => column1-4-2
)
Array
(
[0] =>
)
Array
(
[0] => column1-4-3
)
Array
(
[0] => column2-1
[1] => column2-2
[2] => column2-3
[3] => column2-4
)
Array
(
[0] =>
)
Array
(
[0] => column2-4-1
)
Array
(
[0] =>
)
Array
(
[0] => column2-4-2
)
Array
(
[0] =>
)
Array
(
[0] => column1-1
[1] => column1-2
[2] => column1-3
[3] => column1-4 column1-4-2 column1-4-3 column1-4-4
)
Array
(
[0] => column2-1
[1] => column2-2
[2] => column2-3
[3] => column2-4 column2-4-1 column2-4-2
)