[PHP] How to handle the POST data

2003-11-10 Thread Koala Yeung
I wrote a discussion board in PHP recently The board consis of three php files: forum.php, readforum.php, writeforum.php In my design, - The writeforum.php file will generate a form. - Once user submit the form, it return a new thread in POST to the forum.php. - The forum.php will receive the data

RE: [PHP] How to remove new line character?

2003-11-02 Thread Koala Yeung
Thanks a lot I'd like to remove newline only. Is there any simple way? Koala From: "Simon Stiefel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Subject: RE: [PHP] How to remove new line character? Date: Sun, 2 Nov 2003 17:25:53 +0100 Hi, try it with the 'chop()'-function. Note, that this also re