You are here: Re: Text Area Forms and How Data is Stored « PHP Programming Language « IT news, forums, messages
Re: Text Area Forms and How Data is Stored

Posted by Robizzle on 10/12/05 17:26

I'm sure there is a much easier solution to this than buying that for
$199. I didn't notice this before i posted but as i'm watching the
readers try to test posts on my page, I can see that the new lines are
getting registered and they are saved in the news.file.*.txt files.

It must just be an html issue at this point. I found if I add a <pre>
tag before the body section it will work, however that changes the font
and disables some CSS stuff. Anyone know of a way to make any new line
that apprears in an html document to come thru other than pre?

Or i'd guess my other solution would be to parse the $_POST["body"]
with a fairly simple function and replace all of the new line
characters with a <br> tag. If I do go this route, what would a new
line character ==?

 

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

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