I got the following error When tryin add news and thats not add:

Here is my news.php:
PHP Code:
<?
if(isset($_POST['submit'])){
$title = clean_sql($_POST['title']);
$type = clean_sql($_POST['type']);
$text = clean_sql($_POST['text']);
$user = $_SESSION['UserID'];
mssql_query_logged("INSERT INTO IndexContent ([Type], [User], [Date], [Text], [Title])VALUES($type, '$user', GETDATE(), '$text', '$title')");
msgbox("Added correctly","index.php?do=news");
}else{
?>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
<body bgcolor="#323232">
<form method="POST" action="index.php?do=news">
<table width="454" height="100%" border="1" align="center" style="border-collapse: collapse">
<tr>
<td width="432" colspan="3">Add news</td>
</tr>
<tr>
<td width="432" align="right"> Title</td>
<td width="432"> </td>
<td width="432">
<input type="text" name="title" size="40"></td>
</tr>
<tr>
<td width="432" align="right"> Type</td>
<td width="432"> </td>
<td width="432">
<select size="1" name="type">
<option selected value="1">General announce </option>
<option value="2">Update announce </option>
</select></td>
</tr>
<tr>
<td width="432" align="right" valign="top"> Text</td>
<td width="432"> </td>
<td width="432">
<textarea rows="8" name="text" cols="35"></textarea></td>
</tr>
<tr>
<td width="432"> </td>
<td width="432"> </td>
<td width="432"> </td>
</tr>
<tr>
<td width="432" colspan="3">
<p align="center">
<input type="submit" value="Add" name="submit">
</td>
</tr>
</table>
</form>
<?
}
?>
P.S. sorry for my mad english..=/