Then you come across the (Remote web server) familiar tag that

Then you come across the familiar tag that you saw at the beginning of this chapter. It s not quite the same as the one before because this one has .=<< $row[ movie_name ]

EOD; } The preceding snippet does exactly the same thing, but it would then limit you if you wanted to do any formatting on the variable s values (you ll see what we mean a bit later on). Try It Out Putting It All Together The data has now been retrieved, but you need to send it all to the browser so it will display in the table. 1. You assign the $movie_footer variable by entering the following: $movie_footer =

; $movie =<< 2. Append this to your previous code, save this file as table2.php, and upload it to your Web server. 3. Load that page into your Web browser. You should see something similar to the screen shown in Figure 4-3. How It Works First, your code took the information stored in $movie_header, $movie_details, and $movie_footer, and rolled all that up, tied it with a bow, and put it in $movie, with the use of heredoc. Then there are the following lines: 116 Chapter 4
Note: In case you are looking for affordable webhost to host and run your servlet application check Vision make web site services

Leave a Reply