- <?php
- $result = mysql_query("SELECT message FROM `news` WHERE author='deathtone'");
- if (!$result)
- {
- echo ("<p> Error preforming query: " . mysql_error() . "</p>");
- exit();
- }
- while ($row = mysql_fetch_array($result))
- {
- echo ("<p>" . $row["message"] . "</p>");
- }
- ?>