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

2002-05-05 Thread Mantas Kriauciunas
Hey Miguel Cruz, Got your email on:Sunday, May 05, 2002, 3:29:49 PM writing: : MC> 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("\

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 includ

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","",$myrow[3]); > > now i am having problems with spaces > > text is: > --- > b

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","",$myrow[3]); > > now i am having problems with spaces > > text is: > --

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","",$myrow[3]); now i am having problems with spaces text is: --- bla bla bla foo --- a

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

2002-05-04 Thread Miguel Cruz
On Sat, 4 May 2002, Mantas Kriauciunas wrote: > I have hare a little problem. Well i have in the page > thingy and there i wrote text like that(between lines): > > -- > foo bar > > more foo bar > -- > > now i do msql_query("UPDATE.");

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

2002-05-04 Thread John Holmes
www.php.net/nl2br ---John Holmes... > -Original Message- > From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 11:27 PM > To: PHP General List > Subject: [PHP] HTML to mysql - from msql to html > > Hey PHP General List, > > I

[PHP] HTML to mysql - from msql to html

2002-05-04 Thread Mantas Kriauciunas
Hey PHP General List, I have hare a little problem. Well i have in the page thingy and there i wrote text like that(between lines): -- foo bar more foo bar -- now i do msql_query("UPDATE."); and it sets into the database with just sp