B
B
bowch512019-10-13 12:17:29
PHP
bowch51, 2019-10-13 12:17:29

How to display information about a book from an array?

$array = array("authors" => array("[email protected]" => array("ФИО" => "Иванов Иван Иванович",
                              "BIRTHDAY" => "10.06.1950"
                              ),
                array("[email protected]" => array("ФИО" => "Александров Александр Александрович",
                                "BIRTHDAY" => "01.01.1970"),
         							                           ),
                array("[email protected]" => array("ФИО" => "Дмитриев Дмитрий Дмитриевич",
                              "BIRTHDAY" => "05.07.1977"),
              ),
        
            ),
      "books" => array("NAME" => "Война и мир",
                "EMAIL" => "[email protected]"),
              array("NAME" => "Зелёная миля",
                "EMAIL" => "[email protected]"),
              array("NAME" => "Путешествие к центру земли",
                "EMAIL" => "[email protected]"),
);

There is an array.
It is necessary to display information for all books, in the format:
“Book <Book name>, it was written by <Author's name> <Author's year of birth> ()”
Then shuffle the books and display information on the books again

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question