Re: Callin PHP gurus...figure this out
| From: | Michael Virnstein | Date: | Fri, 26 Apr 2002 13:27:14 +0000 |
| Subject: | Re: Callin PHP gurus...figure this out | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94728@lists.php.net to get a copy of this message | ||
nice one!
didn't notice this function yet!
Regards Michael
"John Holmes" <holmes072000@charter.net> schrieb im Newsbeitrag
news:000101c1ed33$e2f13c60$b402a8c0@mango...
> Use wordwrap() to wrap the text to 75 characters and str_replace() to
> replace " with '
>
> www.php.net/wordwrap
> www.php.net/str_replace
>
> ---John Holmes...
>
> > -----Original Message-----
> > From: r [mailto:r@jumac.com]
> > Sent: Friday, April 26, 2002 3:08 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Callin PHP gurus...figure this out
> >
> > Greetings All,
> > (Special greetings go out to Steve for excellient previous help -
> Thanks
> > again dude)
> > Calling all PHP gurus, have broked my head over this but cant seem to
> > figure
> > this out in c,perl or java servlets.
> > Am new to PHP so dont even know the common functions leave alone the
> > answer
> > to this problem.
> > Heres the setup:
> > I have a form with just one TEXTAREA
> > Data from this form is entered directly into the database
> >
> > BUT...
> >
> > everytime a user presses the ENTER or RETURN key on the keyboard, when
> the
> > PHP script validates the form
> > I want it to add <br> it should also add a <br> if the line is
> > sayyyyy....75
> > charactors long & if there is no <br> or enter key pressed..
> > If it finds any " it should convert it to '
> >
> > Any ideas?
> >
> > Any help appreciated.
> > Have a great day.
> > -Ryan A.
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>