Reply to Text Area Forms and How Data is Stored

Your name:

Reply:


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

I'm having problems with an html textarea and how the input is
interpreted in php. For instance, new lines aren't being carried over
in my news posts.

Currently this is what i'm doing:
makenews.php takes form data from makenews.php and spits it out to the
first file that doesn't already exist of the name template
news.file.I.txt where I starts at 0 and works its way up. However, if
I enter something like the following:

"this is a test. There is a new
line between the words 'new' and 'line'"

I end up with a news post that looks like "this is a test. There is a
newline between the words 'new' and 'line'".

What is going on? You can play with the script yourself if that helps
any, i've created a copy for use by you guys at
http://www.cse.msu.edu/~meyerro3/google.php . Will post the source
codes on that page in a minute.

[Back to original 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

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