Here is the code for the query. I am convinced that it is an HTML interpretation (client-side, right?).
I cannot see the problem, though.
Yes, the EvDate field is type Date in the database.
echo "<table summary=\"Current Events\"";
$db = mysql_connect($DBHost, $DBUser, $DBPass) or die("Cannot connect.");
mysql_select_db($DBName, $db) or die("Cannot select database.");
$lookup=mysql("$DBName","SELECT * FROM events WHERE EvDate >= '$today' ORDER BY EvDate ASC");
while ($row = mysql_fetch_row($lookup)) {
$EvID=$row[0];
$EvTitle=$row[1];
$EvDesc=$row[2];
$EvDate=$row[3];
echo "<tr>";
echo "<td>$EvTitle<br>$EvDesc</td>";
echo "</tr>";
}
echo "</table>";
Thanks for all your help.