Cliff Jackson2,886 Points
Code will not pass challenge??
Cannot get the code to pass, second time i've posted the problem any ideas?
<?php $movie = array ( "title" => "The Empire Strikes Back." ); ?> <?php echo "<h1>". $movie ["title"] ."(1985)</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>
Jennifer NordellTreehouse Staff
Hi there! While PHP isn't terribly picky about whitespace this is one of those "make or break" cases and, in this case, it is breaking your code. You have an extraneous space between
["title"] removing the space between these two causes the code to pass Step 3 of the challenge.
Hope this helps!