You are here: Formatting Database Output « All PHP « IT news, forums, messages
Formatting Database Output

Posted by Chris on 06/26/05 12:15

Right here goes...

I have an admin area for a site that I am designing, it allows the users of the site (not very web design proficient at all) to
add news items to the site. The page is set up as follows:

Date textfield
Headline textfield
Story textarea

My question is, how do I get the content of the story text area to be formatted so it looks like proper paragraphs on the web
page? I know this can be done by inserting html into the content of the story, i.e. <p> tags, but the users do not have a clue
about that and therefore I need a method where by they can just type in the text and it appears on the screen in formatted
paragraphs.

Can anyone assist in this?


--
Regards,
Chris.

www.bororules.co.uk
www.lascoronas10.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация