explode line breaks
Posted: Fri Aug 03, 2007 9:57 am
Hi
I know we can use function explode to devide texts/strings into peices. And i know we use ln2br() to show line breaks when pulling out a text from the database.
what i need is exploding a text on line breaks.
to be more specific, users enter their keyword in a textarea and type each phrase in 1 line. I save that textarea content in 1 field but since I need to analize each phrase, I want to devide that text into keyword phrases when i use SELECT to pull it out
how can I do that?
thanks
I know we can use function explode to devide texts/strings into peices. And i know we use ln2br() to show line breaks when pulling out a text from the database.
what i need is exploding a text on line breaks.
to be more specific, users enter their keyword in a textarea and type each phrase in 1 line. I save that textarea content in 1 field but since I need to analize each phrase, I want to devide that text into keyword phrases when i use SELECT to pull it out
how can I do that?
thanks