I've made the edits and it now looks like so. To see the page go to http://dky.sytes.net/hotlines/PO_History.php
it still doesnt work.
<html><head><title>PDC Hotline Form Tab 3</title>
<LINK REL="STYLESHEET" HREF="style.css">
<meta http-equiv="imagetoolbar" content="false"></head>
<body topmargin="2" leftmargin="0">
<?
require("connect.php");
$connectmysql = mysql_connect($host,$user,$password) or die ($cantconnectmysqlmessage);
$db = mysql_select_db($database,$connectmysql) or die ($cantconnectdatabasemessage);
?>
<FORM ACTION="<?$PHP_SELF?>" METHOD="POST" NAME="PO_History">
<p align=center>
<table width="550" cellspacing="0" cellpadding="0" border="0" bordercolor="#000000">
<tr>
<td><p align=center><font id='header'>P.O. History</font><br><br></td>
</tr>
<tr>
<td><p align=center><TEXTAREA NAME="po_history" ROWS="20" COLS="100%" WRAP></TEXTAREA></td>
<tr>
<td><br><p align=center><INPUT TYPE="submit" NAME="submit" VALUE="Submit P.O. History"></td>
</tr>
</table>
<?
if ($_POST["submit"] == "Submit P.O. History")
mysql_query("INSERT INTO hotlines (po_history) VALUES ('".$_POST['po_history']."')") or die (mysql_error());
mysql_close($connectmysql);
echo "<br>$table<br><br>";
echo "$po_history<br><br>";
echo "$po_history_query<br><br>";
echo"$po_history_result";
?>
</form>
</body></html>
but, if I make a file from scratch with no form and no if statement that looks like this it works perfectly fine.... Maybe there is something wrong with my if statement
<?
require("connect.php");
$connectmysql = mysql_connect($host,$user,$password) or die ($cantconnectmysqlmessage);
$db = mysql_select_db($database,$connectmysql) or die ($cantconnectdatabasemessage);
$po_history = "testing testing 12345";
mysql_query("INSERT INTO hotlines (po_history) VALUES ('$po_history')") or die (mysql_error());
echo "<br><br>$table<br><br>";
echo "$po_history<br><br>";
echo "$po_history_query<br><br>";
echo"$po_history_result";
mysql_close($connectmysql);
?>