basic-php-04-table2-rev01.php / php
<?php <?php query = "SELECT movie_name, movie_director, movie_leadactor " . "FROM movie"; query, num_movies = mysql_num_rows(movie_header=<<<EOD <h2><center>Movie Review Database</center></h2> <table width="70%" border="1" cellpadding="2" cellspacing="2" align="center"> <tr> <th>Movie Title</th> <th>Year of Release</th> <th>Movie Director</th> <th>Movie Lead Actor</th> <th>Movie Type</th> </tr> </table> EOD; row = mysql_fetch_array(movie_name = movie_director = movie_leadactor = movie_details .=<<<EOD <tr> <td></td> <td>movie_director</td> <td></td> </tr> EOD; } movie_details .=<<<EOD <tr> <td> </td> </tr> <tr> <td>Total :</td> </tr> EOD; movie_footer ="</table>"; movie_header movie_footer MOVIE; echo "There are movie; ?>
(C) Æliens 20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.