<html>
<?php
$connect=mysql_connect("localhost","waradmn_waradmn","****")
or die("could not connect to mysql");
mysql_select_db("waradmn_lnks1",$connect)
or die("could not choose database: waradmn_lnks1");
$query = mysql_query"INSERT INTO chat ("id","post_author","post_date","post_content") VALUES ("NULL","$author","NULL","$content")";
echo "Thanks! <a href="www.wargamershq.com/chat.php>return to shout</a>";
?>
</html>
i Get a error message that line 7 is invalid...why? what's wrong witht the script?