T
T
Taras Parashchuk2020-12-02 13:40:32
PHP
Taras Parashchuk, 2020-12-02 13:40:32

Why is the wrong value being read from CSV?

How to understand it:
We take the number from the array: (read from CSV)

$NUMBER  =  $csvarr[0][0];                // В переменной $NUMBER  = 0;
$result = vagprice::find($NUMBER);
Возвращает <b>null</b>

$NUMBER = 0;
$result = vagprice::find($NUMBER);
Возвращает коллекцию

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2020-12-02
@taras1978

A classic BOM problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question