I have php website and I upload images to my site via my php written admin tool.
I have an input box in my admin tool that is defined as this:
$prod_desc = $row['prod_desc'];
Within my admin tool web page, I can add a long text description.
The problem is when i cut and past text into the description area via my admin tool the pasted text wraps around and looks bad.
How do I modify the row that holds the description field to look like what I copied from. Or is there some HTML I can use to allow this rule.
Here is a sample of what I copy.
180 Gig.
Color is Red.
The sky is blue.
At night the sky is black.
70 years is a long time.
But when I paste it into my description field, it looks like this:
180 Gig.Colore is Red.The sky is blue.At night the sky is black.70 years is a long time.
Hope this makes sense.
I have an input box in my admin tool that is defined as this:
$prod_desc = $row['prod_desc'];
Within my admin tool web page, I can add a long text description.
The problem is when i cut and past text into the description area via my admin tool the pasted text wraps around and looks bad.
How do I modify the row that holds the description field to look like what I copied from. Or is there some HTML I can use to allow this rule.
Here is a sample of what I copy.
180 Gig.
Color is Red.
The sky is blue.
At night the sky is black.
70 years is a long time.
But when I paste it into my description field, it looks like this:
180 Gig.Colore is Red.The sky is blue.At night the sky is black.70 years is a long time.
Hope this makes sense.