[EMAIL PROTECTED] wrote:

I'm having trouble formatting paragraphs within PHP. I have a story that was inserted using an online 
web form. For each new paragraph created, I want PHP to display those broken paragraphs on a web page 
instead of it coming up with one <p> tag and a bunch of <br> tags. I'm trying to use CSS to 
indent each paragraph, but PHP is drawing the story into one <p> and using <br> tags to 
break the paragraphs. I want all the paragraphs to be indented. Any way to get around this?

Heather


Technically, PHP does nothing unless you tell it to. So the trick here is to figure out what you've told it to do now that we know what you meant to tell it to do. Do you have the code from the web form the paragraphs are submitted to? How and where is the data retrieved for display by PHP? Is it from a database table that stored the web form submitted data, or directly from the web form?
--
Ryan Grange

Reply via email to