edit, doing something now, giving me the error below the code
if ($status == 'add') {
echo "<form name='addnews' method='post'>";
echo "<table width='350' cellpadding='0' cellspacing='0' bgcolor='#AAAAAA' align='left'>";
echo "<tr valign='top'>";
echo "<td width='100'>";
echo "<table width='350' cellpadding='3' cellspacing='1' align='left'>";
echo "<tr>";
echo "<td width='100' bgcolor='#EEEEEE'>";
echo "Topic";
echo "</td><td width='250' bgcolor='#EEEEEE'>";
echo "<input type='text' name='itopic' size='40'></td></tr>";
echo "<tr>";
echo "<td width='100' bgcolor='#EEEEEE'>";
echo "Message";
echo "</td><td width='250' bgcolor='#EEEEEE'>";
echo "<textarea rows='7' cols='40' name='imessage'></textarea></td></tr>";
echo "<tr>";
echo "<td width='100' bgcolor='#EEEEEE'>";
echo "Author";
echo "</td><td width='250' bgcolor='#EEEEEE'>";
echo "<input type='text' name='iauthor' value='",$username."' disabled></td></tr>";
echo "<tr>";
echo "<td width='100' bgcolor='#EEEEEE'>";
echo " ";
echo "</td><td width='250' bgcolor='#EEEEEE'>";
echo "<input type='submit' name='asubmit' value='Create'></td></tr></table></form>";
$atopic = $_POST['itopic'];
$amessage = $_POST['imessage'];
$aauthor = $_POST['iauthor'];
if ($_POST['asubmit']) {
$addquery = mysql_query("INSERT INTO news ('topic','message','author') VALUES ('".$atopic."','".$amessage."','".$aauthor."')");
}
getting this
MySQL server version for the right syntax to use near ''news' ('topic','message','author') VALUES ('testing','testing2