Figure 4-3 echo (Web hosting service) There are $num_movies movies in

Figure 4-3 echo There are $num_movies movies in our database ; echo $movie; You printed the statement about how many movies there are in your database, and then you sent the whole ball of wax ($movie_header, $movie_details, and $movie_footer) with the next line. The table may look pretty, but as in Chapter 3, it doesn t do the user much good if they don t have their secret decoder ring to decipher what actors and directors were associated with your movies. You need to link your tables to pull this information. Try It Out Improving Your Table In this exercise, you ll link the tables together, as you saw in Chapter 3, so you can output meaningful data. 1. Modify your table2.php file as shown in the highlighted text: Note: If you are looking for cheap and reliable webhost to host and run your mysql application check Vision professional web hosting services

Leave a Reply