nope didnt work heres my code so far and master isnt my password all tht username and pass arent the really thing
<?php
echo "<html>\n";
echo "<center>\n";
echo "<form name='insert' method='post' action=''>\n";
echo "<textarea cols='70' rows='12' name='CMS'></textarea>\n";
echo "<br>\n";
echo "<input type='submit' value='Submit'>\n";
echo "<input type='reset'>\n";
echo "</center>\n";
echo "</form>\n";
echo "</html>";
$CMS = $_POST['CMS'];
$dbhost = 'localhost';
$dbuser = 'root';
$dbpass = 'master';
$table ='announcements';
$conn = mysql_connect($dbhost, $dbuser, $dbpass) or die('connection not made');
$dbname = 'rockledge';
mysql_select_db($dbname);
$query = "INSERT INTO $table VALUES ( '',$CMS)";
mysql_query($query);
mysql_close($conn)
?>
maybe if u would test out the code like make a database named rockledge with the pass of master and then a table named announcements with a column in that table named text and that column should be LONGTEXT