S
S
Sergey Zelensky2015-09-29 17:22:25
PHP
Sergey Zelensky, 2015-09-29 17:22:25

Who had it?

pulled from base array

Array
(
    [developer] => Array
        (
            [id] => 1
            [name] => Конструкторский отдел
            [id_chief] => 9
            [division_name] => developer
        )

    [supply] => Array
        (
            [id] => 12
            [name] => Отдел снабжения
            [id_chief] => 7
            [division_name] => supply
        )

    [bending] => Array
        (
            [id] => 3
            [name] => Цех  по гибке
            [id_chief] => 6
            [division_name] => bending
        )

    [welding] => Array
        (
            [id] => 4
            [name] => Сварочный цех 
            [id_chief] => 5
            [division_name] => welding
        )

    [painting] => Array
        (
            [id] => 5
            [name] => Покрасочный цех
            [id_chief] => 5
            [division_name] => painting
        )

    [TCI_painting] => Array
        (
            [id] => 13
            [name] => ОТК после покраски
            [id_chief] => 4
            [division_name] => TCI_painting
        )

    [fitting] => Array
        (
            [id] => 14
            [name] => Сборочный цех
            [id_chief] => 5
            [division_name] => fitting
        )

    [TCI] => Array
        (
            [id] => 8
            [name] => ОТК после сборки
            [id_chief] => 2
            [division_name] => TCI
        )

    [photography] => Array
        (
            [id] => 9
            [name] => Рекламный отдел
            [id_chief] => 3
            [division_name] => photography
        )

    [packing] => Array
        (
            [id] => 10
            [name] => Упаковочный цех
            [id_chief] => 4
            [division_name] => packing
        )

    [TCI_packing] => Array
        (
            [id] => 11
            [name] => ОТК упаковки
            [id_chief] => 2
            [division_name] => TCI_packing
        )

    [cast
] => Array
        (
            [id] => 15
            [name] => Отгрузка на склад
            [id_chief] => 10
            [division_name] => cast

        )

)

and here is the last element in print_r in such a strange way and does not work if accessed by key, has anyone had such problems?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nazar Mokrinsky, 2015-09-29
@SergeyZelensky-Rostov

Well, you got a translation to a new line ( \n), what's wrong with that?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question