Welcome to the Treehouse Community
Looking to learn something new?
Movie title isn't showing up
I am having trouble displaying the movie title. Can anyone tell me what I am missing?
<?php $movie = array(); $movie["title"] = "The Empire Strikes Back"; ?> <h1><?php echo $movie["title"] ;?> </h1> <table> <tr> <th>Director</th> <td>Robert Zemeckis</td> </tr> <tr> <th>IMDB Rating</th> <td>8.5</td> </tr> <tr> <th>IMDB Ranking</th> <td>53</td> </tr> </table>
Andrew McCormick17,730 Points
not sure why it's not displaying. I just copied and pasted your code and it works for me.
I figured it out.