3 * Rename the function to match the name of the module. Names of all news functions must be unique
4 * across all modules installed on a system. Return a variable called $news
7 function helloworld_news() {
9 $sql = "SELECT something FROM a table WHERE date < NOW() LIMIT 3";
10 if ($result = mysql_query($sql, $db)) {
11 while($row = mysql_fetch_assoc($result)){
12 $news[] = $row['something'];