Heres were I am at right now:
<html>
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
<?php
include 'config.php';
include 'opendb.php';
$result = mysql_query("SELECT DISTINCT
DATE_FORMAT(FileDate, '%b %Y') as adate,
DATE_FORMAT(FileDate, '%d.%m.%Y') as ndate,
FileName as filename
FROM DayMovie
ORDER BY FileDate DESC")
or die(mysql_error());
echo "<table border='0'>";
while($row = mysql_fetch_array( $result )) {
echo "<tr><td>";
echo $row['adate'];
echo "</td><td>";
echo date($row['ndate']);
echo "</td><td>";
echo "<a href='alldaymovies/{$row['filename']}'>Se film</a>";
echo "</td></tr>";
}
echo "</table>";
include 'closedb.php';
?>
</html>
This generates a table with 3 columns. In the first column it is the adate value (Month and year).
What I would like is to select this value from a combobox and then only show the content that has this value in this column.
The result can be viewed here: http://81.166.2.19/movies.php