logo       

Re: text formatting: msg#01191

db.mysql.general

Subject: Re: text formatting

Hi,
Yes there are number of functions you can use in php. I don't know what you
really want to do, i assume that you want the resumes viewed over the web,
in that case you can use nl2br() function to indicate a new line..
Take a look at the following pages:
http://www.php.net/manual/en/ref.strings.php
http://www.php.net/manual/en/ref.regex.php

Gurhan

----- Original Message -----
From: "Blue Presley" <blue928@xxxxxxxxxxxxxxx>
To: <mysql@xxxxxxxxxxxxxxx>
Sent: Sunday, June 30, 2002 6:31 PM
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" <ergenekon@xxxxxxxxxxxxx>
> To: "Blue Presley" <blue928@xxxxxxxxxxxxxxx>; <mysql@xxxxxxxxxxxxxxx>
> 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" <blue928@xxxxxxxxxxxxxxx>
> > To: <mysql@xxxxxxxxxxxxxxx>
> > 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 <mysql-thread113434@xxxxxxxxxxxxxxx>
> > > To unsubscribe, e-mail
> > <mysql-unsubscribe-ergenekon=starpower.net@xxxxxxxxxxxxxxx>
> > > 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 <mysql-thread113436@xxxxxxxxxxxxxxx>
> > To unsubscribe, e-mail
> <mysql-unsubscribe-blue928=carolina.rr.com@xxxxxxxxxxxxxxx>
> > 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 <mysql-thread113438@xxxxxxxxxxxxxxx>
> To unsubscribe, e-mail
<mysql-unsubscribe-ergenekon=starpower.net@xxxxxxxxxxxxxxx>
> 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 <mysql-thread113441@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail
<mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise