You are here: Re: easy update « HTML « IT news, forums, messages
Re: easy update

Posted by Andrew @ Rockface on 07/14/05 17:11

In news:hduBe.3456$vz5.2874@newsfe4-win.ntli.net,
Robert Frost-Bridges <web@brightonfixedodds.net> wrote:
> I would actually like to find a way for him to insert paragraphs/line
> breaks, as each entry is currently just a single block of text, but I
> suspect this will involve someting other than a <textarea> for input
> and I've not really looked in to how this would be done yet. At the
> moment I would have to recreate all the above again and add it to the
> page where I wanted the new paragraph.

Try nl2br(). It converts newlines to <br>. Even if it's not exactly what
you're looking for, the user comments will help you code your own nl2p()
type function.
http://uk2.php.net/manual/en/function.nl2br.php


--
Andrew @ Rockface
np: Kyuss - 100 Degrees
www.rockface-records.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

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