OOPS! I actually do know that and it is not the problem, interestingly, I created a simple .php form with a textarea and have no problem getting all of the text when sent to the $_POST superglobal. Now I am wondering if it could have something to do with the way I code the submit button. I force the submit to read a javascript function called validate before it can POST to the 1PirepInfoConfirm.php page that submits the form Data to the db. I took out most of the validation alternation and all of the form fields except the text area that is the trouble so that it would fit the page:
<?php
session_start();
//deny access based on session variable $PID
if(!isset($PID)) {
header("location:1PilotCenterLoginDB1.htm");
exit;
}
if(!isset($PID)) {
die();
}
//connect to mysql server
$link = mysql_connect('server', 'user', 'Password');
// $link = variable for resource link identifier
if (!$link) {
die('Could not connect to Server! Please contact Randy, email: randy@libertyvirtual.com ' . mysql_error());
}
//select database
$db_selected = mysql_select_db('ignattzu_db1', $link);
if (!$db_selected) {
die('Could not connect to DB1! Please contact Randy, email: randy@libertyvirtual.com ' . mysql_error());
}
mysql_close($link);
?>
<html>
<head>
<title>pirep_pageDB1.php</title>
<script lang = "Javascript">
function Validate() {
if (document.Form1.PID.value == "") {
alert ("You Must Login to the Pilot Center First!");
document.Form1.FlightNum.focus();
return false;
else {
return true;
}
}
</script>
</head>
<body background="light_%20tile.gif" style="background-attachment: fixed">
<H1 align="center">
<img border="0" src="LVAvirtual.jpg" width="1027" height="167"></H1>
<H1 align="center"><font face="Tahoma" size="2">
<HR>
<form name = "Form1" method="post" action = "1PirepInfoConfirm.php" >
align="justify"><b><font face="Tahoma" size="2"> Please note comments/ reason for late arrival if applicable:</font></b><i><font face="Tahoma" size="1">(optional)</b></font></i></P>
<P><font face="Tahoma"><b> <font size="2">
</font></b>
<textarea name="Delayed" ROWS=5 COLS=35 /textarea></P>
<INPUT TYPE="submit" VALUE="Submit Form" onclick="return Validate()" style="font-weight: 700"><b><font size="2"> </font>
</b>
<INPUT TYPE=RESET VALUE="Reset Form" style="font-weight: 700"><b><font size="2"> </font>
</b></font></P>
<b>
<a href="1PcOptionsPage.php">(Return to Pilot Center)</a></font></b>
</FORM>
<HR>
<p>
</p>
</body>
</html>