Question: Exercise 5 Create a 2D associative array as illustrated below. Add statements to your program that displays the contents of the array in the browser

Exercise 5 Create a 2D associative array as illustrated below. Add statements to your program that displays the contents of the array in the browser window using the echo function. You may choose your own books, but the each book must have a title, author and (publication) year $books array ( array( "title" => "Catch 22", "director" => "Joseph Heller", "year" => 1961 ), array( "title" => "Hitchhikers Guide to the Galaxy", "director" => "Douglas Adams", "year" => 1979 ), array "title" => "Lord of the Rings", "director" => "_J. R. R. Tolkien", "year" => 19 ) )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
