note 13477 deleted from index.php by ronabop

From: Date: Tue, 19 Jun 2001 19:52:50 +0000
Subject: note 13477 deleted from index.php by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-14456@lists.php.net to get a copy of this message
I don't know where to raise this question, so why not in this section... I'm writing a message board, and for that I'm using PHP (ofcourse!) for the scripts and MySql for the data... I declared a message-field messageContent as TEXT... Everything works perfect when adding replies, as long as I don't use any Carriage returns in the message... But when I post comment that contains carriage returns to the addReply script, every carriage return is replaced by spaces... Eg. when i submit a form with a textarea that appears like this messageContent: Test 1 2 and when I recall this field, it appears to be messageContent: Test 1 2 Can anyone help me? I'm sorry but my English isn't that good ;-)

« previous php.notes (#14456) next »