I haven't seen the rest of the thread, but form data looses all formatting.
Line breaks will remain but HTML ignores them

look at nl2br() to convert them to <br>

HTH

Peter



-----------------------------------------------
Excellence in internet and open source software
-----------------------------------------------
Sunmaia
www.sunmaia.net
[EMAIL PROTECTED]
tel. 0121-242-1473
-----------------------------------------------

> -----Original Message-----
> From: Blue Presley [mailto:[EMAIL PROTECTED]]
> Sent: 30 June 2002 23:31
> To: [EMAIL PROTECTED]
> Subject: Re: text formatting
>
>
> I'm using (and new to) PHP.  any suggestions as to what functions, if any
> exist, that would be appropriate for pre-formatting?
>
> thx,
> blue
> ----- Original Message -----
> From: "Gurhan Ozen" <[EMAIL PROTECTED]>
> To: "Blue Presley" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Sunday, June 30, 2002 6:02 PM
> Subject: Re: text formatting
>
>
> > This should be handled before the data is even inserted into mysql. Have
> > your scripting language that you use in the form handle this to have the
> > resume formatted in the way you'd like and then have it insert the data
> into
> > mysql.
> > Gurhan
> >
> > ----- Original Message -----
> > From: "Blue Presley" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Sunday, June 30, 2002 5:34 PM
> > Subject: text formatting
> >
> >
> > > hello,
> > > I have a web from that allows a user to submit a resume in
> text format.
> > How
> > > do i make mysql respect the formatting of the text document so that it
> is
> > > pulled from the database as it was inserted?  right now
> everything comes
> > > back as one paragraph.
> > >
> > > thanks,
> > > blue
> > >
> > >
> > > ---------------------------------------------------------------------
> > > Before posting, please check:
> > >    http://www.mysql.com/manual.php   (the manual)
> > >    http://lists.mysql.com/           (the list archive)
> > >
> > > To request this thread, e-mail <[EMAIL PROTECTED]>
> > > To unsubscribe, e-mail
> > <[EMAIL PROTECTED]>
> > > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> > >
> >
> >
> > ---------------------------------------------------------------------
> > Before posting, please check:
> >    http://www.mysql.com/manual.php   (the manual)
> >    http://lists.mysql.com/           (the list archive)
> >
> > To request this thread, e-mail <[EMAIL PROTECTED]>
> > To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> >
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail
> <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to