basic-php-03-select2-rev01.php / php
<?php //connect to MySQL //make sure we're using the right database mysql_select_db("moviesite"); query = "SELECT * " . "FROM movie " . "WHERE movie_year>1990 " . "ORDER BY movie_type"; query) or die(mysql_error()); echo "<table border=\"1\">\n"; while (results)) { echo "<tr>\n"; foreach(value) { echo "<td>\n"; echo </td>\n"; } echo "</tr>\n"; } echo "</table>\n"; ?>
(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.