Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialartem colonne
2,577 PointsCode Challenge: Associative Arrays / 5 task
Hi! Could you help, I cant see what I doing wrong(
http://gyazo.com/10edd57e24d65be31fcef83a248ff70d - heres a screenshot
Here is my code
<?php $movie = array ( "title" => "The Empire Strikes Back", "year" => "1980", ); ?>
<?php echo $movie["title"];?> (<?php echo $movie["year"]; ?>)
<table> <tr> <th>Director</th> <td></td> </tr> <tr> <th>IMDB Rating</th> <td></td> </tr> <tr> <th>IMDB Ranking</th> <td></td> </tr> </table>
3 Answers
Elliott Frazier
Courses Plus Student 9,647 Pointsyou needed to leave the H1 tags intact as well.
artem colonne
2,577 Points?php $movie = array ( "title" => "The Empire Strikes Back", "year" => "1980", ); ?>
<?php echo $movie["title"];?> (<?php echo $movie["year"]; ?>)
Chase Lee
29,275 Points?php $movie = array ( "title" => "The Empire Strikes Back", "year" => "1980", ); ?>
<?php echo $movie["title"];?> (<?php echo $movie["year"]; ?>)
artem colonne
2,577 PointsDont work:)
artem colonne
2,577 PointsThnx for advice:) All work for now.
Pedro Baumann
12,815 PointsPedro Baumann
12,815 PointsExactely, Don't erase the HTML just work around it