Ok, so if I do a SELECT * instead of the date that will get all the fields, correct?
Also, I searched around and found the "while" loop below but all I want is the very first date. This prints out all the dates. I know I'm close, but how to get just the most recent date from this?
Thanks!
$result = @mysql_query('SELECT * FROM news ORDER BY date DESC');
if (!$result) {
exit('<p>Error performing query: ' . mysql_error() . '</p>');
}
while ($row = mysql_fetch_array($result)) {
echo '<p>' . $row['date'] . '</p>';
}