<?php print(" if (document.rpcjs_louie.ColCustName.value == \"\") { walangfield += \"Missing: Firstname\n\"; } "); ?>
try simply escaping the "\" before the "n" with an additional "\" or in other words: use "\\n" instead of "\n". PHP will interpret "\\" as an "\".
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php