RE: [PHP] form/text area input problem

2003-03-14 Thread Boaz Yahav
EMAIL PROTECTED]' Subject: RE: [PHP] form/text area input problem THanks guys, I think I will use wordwarp() -Original Message- From: - Edwin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 11:07 AM To: Poon, Kelvin (Infomart); '[EMAIL PROTECTED]' Subject: Re: [PHP

RE: [PHP] form/text area input problem

2003-03-13 Thread Poon, Kelvin (Infomart)
THanks guys, I think I will use wordwarp() -Original Message- From: - Edwin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 11:07 AM To: Poon, Kelvin (Infomart); '[EMAIL PROTECTED]' Subject: Re: [PHP] form/text area input problem "Poon, Kelvin (Infomart)&quo

Re: [PHP] form/text area input problem

2003-03-13 Thread - Edwin
"Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> wrote: [snip] > the problem is when I display it it would be a one lined paragraph. > THe page's format is ruin since this is one long line and the user > will have to scroll across to read the paragraph which look pretty bad. > > I hope you know

Re: [PHP] form/text area input problem

2003-03-13 Thread CPT John W. Holmes
> for 2, yes nl2br() will do it. THanks. > > but for 1, if the user don't press enter (yes they were typing a long > paragraph), then the variable will contain one LONG string. > > ANd if I retrieve this data and put it in the html page, it would appear as > a one lined long string. DO you know w

Re: [PHP] form/text area input problem

2003-03-13 Thread Poon, Kelvin (Infomart)
; Subject: Re: [PHP] form/text area input problem Hi, "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> wrote: [snip] > I am just looking for a more efficient way of solving this, can anyone > give me any idea? [/snip] I think you'll save yourself from so much trouble i

Re: [PHP] form/text area input problem

2003-03-13 Thread - Edwin
Hi, "Poon, Kelvin (Infomart)" <[EMAIL PROTECTED]> wrote: [snip] > I am just looking for a more efficient way of solving this, can anyone > give me any idea? [/snip] I think you'll save yourself from so much trouble if: 1. You just leave those long text. If they didn't press ENTER, it means th

Re: [PHP] form/text area input problem

2003-03-13 Thread CPT John W. Holmes
[snip] > My problem is, for the text area. [snip] www.php.net/nl2br ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] form/text area input problem

2003-03-13 Thread Poon, Kelvin (Infomart)
Hi, I was wondering if anyone could give me some idea to help me solve this problem. I am creating a KnowledgeBase for my company. In this knowledgeBase, the employees will input articles in the database. I decided to store it as such: a column for the title, a column for the content. I have