note 13477 added to index.php

From: Date: Mon, 18 Jun 2001 17:04:08 +0000
Subject: note 13477 added to index.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14260@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 ;-) http://www.php.net/manual/nl/index.php

« previous php.notes (#14260) next »