Hi Folks

I am trying to make a php form processing script. The form would have a large text area in it where the visitors could type a few paragraphs of text. I want this script to break the text from the form after 75 characters or if that is in the middle of a word, then break after completing that word. I also would like this script to insert a line number at the beginning of each line.

Does this sound possible? Any help is greatly appreciated.

Recommended Answers

All 2 Replies

Thanks for the info. This is what I was looking for. With some modification of my scrpt I think I can get it to work. Thanks alot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.