Try adding something like this to your send.php
$msg = preg_replace("[\r\n]", "", $msg);
if you put it right under
if(isset($sent)){
if($msg != ""){
It will treat newlines as if a character has not been entered. If you want it to actually insert a line break, you'll have to move it after the html parsing and use "<br>" as the second parameter to preg_replace.
- sameer
http://www.yenga.com (http://www.yenga.com)