Thanks for your help...
This is how I am curently posting the text:-
<br>
Message Subject:
<br>
<input type="text" name="message_title" size="60" maxlength="60" />
<br>
Message Body:
<br>
<textarea name="message_text" rows="15" cols="69" wrap="physical"></textarea>
<br>
<input type="hidden" name="message_ip" value="<?php echo $REMOTE_ADDR; ?>" />
<input type="hidden" name="dept_key" value="RE">
<br>
<font color="red"<b><center> All fields must be completed for the message to post </center></b></p>
<input type="submit" value="Post Message">
</form>
<?php
}
else
{
if (!($connection = @ mysql_connect($hostname,
$username,
$password)))
die("Could not connect to database");
if (!mysql_select_db("intranet", $connection))
showerror();
$insertQuery = "INSERT INTO stop_press VALUES
(NULL, " .
"\"" . $dept_key ."\", " .
"\"" . $message_creator ."\", " .
"\"" . $message_title ."\", " .
"\"" . $message_text ."\", " .
"\"" . $message_ip ."\", " .
"NOW())";
if ((@ ($insertQuery,
$connection))
&& @ mysql_affected_rows() == 1)
echo '<h5>Message posted successfully - Thank you</h5>';
else
showerror();
}//if else empty()
?>