A query is the string: "SELECT NewsID, Topic, Body, Poster, Year, Month......"
When we run the query we get a result
But $result is not useful until we fetch some rows from $result
Study the examples in this page: [man]mysql_fetch_array[/man]
This is the usual way:
$result = mysql_query("SELECT NewsID, Topic, Body, Poster, Year, Month, Day, TIME_FORMAT(Time, '%l:%i %p')
AS the_time FROM News ORDER BY NewsID DESC");
// get the first row from result, into an array
$row = mysql_fetch_array( $result );
// dump out this row, this array
echo '<pre>';
print_r( $row );
echo '</pre>';