Re[2]: [PHP] HTML to mysql - from msql to html

2002-05-05 Thread Mantas Kriauciunas
Hey PHP General List, ok i solwed the problems with line breaks but i didn't use nl12br() function. i did like this: $newz = str_replace(\n,br,$myrow[3]); now i am having problems with spaces text is: --- bla bla bla foo ---

Re: Re[2]: [PHP] HTML to mysql - from msql to html

2002-05-05 Thread Jason Wong
On Monday 06 May 2002 06:01, Mantas Kriauciunas wrote: Hey PHP General List, ok i solwed the problems with line breaks but i didn't use nl12br() function. i did like this: $newz = str_replace(\n,br,$myrow[3]); now i am having problems with spaces text is: --- bla bla

Re[2]: [PHP] HTML to mysql - from msql to html

2002-05-05 Thread Miguel Cruz
On Sun, 5 May 2002, Mantas Kriauciunas wrote: Hey PHP General List, ok i solwed the problems with line breaks but i didn't use nl12br() function. i did like this: $newz = str_replace(\n,br,$myrow[3]); now i am having problems with spaces text is: --- bla bla bla

RE: Re[2]: [PHP] HTML to mysql - from msql to html

2002-05-05 Thread David Freeman
now i am having problems with spaces text is: --- bla bla bla foo --- and shows: --- bla bla bla foo --- Plain old HTML ignores white space. You do understand this? To include what you