WHO CAN CRACK THIS ONE FOR ME.

I have never figured out how to do this. About 2 or 3 years ago, I tried varios methonds which I found on the net.

When adding data to a mysql database, I'l like the text to be the way, including the line breaks, that I have posted it, without using additional software.

For example,

When typing the following and adding it to the database:

Hello.

This is me.

And it is a test.
________________________

Well, when I display the data after posting it, it will be like this:

Hello. This is me. And it is a test.

_________________________

Currenly I am doing this: Hello.<br>This is a test.... etc.

I don;t like it.

You could use a plugin editor like TinyMCE which will handle the line breaks for you. Google TinyMCE and see if thats any use to you.

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.