the following changed code will do the trick:
<?php
if($submit) {
if ($text != '') {
$sybase = sybase_connect("a" , "b" , "");
sybase_select_db("c");
// below SQL format is of mySQL, please check your own sybase
$query = sybase_query ("INSERT table_name (column1) VALUES ('$text')");
sybase_close($sybase);
print "<p>Thank you!";
print $test;
print "<br><br>has been submitted!";
}
else {
$error = " Sorry! You didn't fill in the field!";
}
}
?>
<head><title>input</title></head>
<body>
<P>
<form method="post" action= <? $php_self ?> >
FIELD: <textarea name="text" rows=15 cols=72 wrap=HARD>
</textarea><br>
<input type="Submit" name="submit" value="Enter Information"><INPUT TYPE=RESET VALUE="Reset Information">
</form>
</body>