|
-
Oct 1st, 2001, 09:06 AM
#1
Thread Starter
Junior Member
Online editing HTML
Hi!
This time I have a basic question. I am using PHP + mySQL for creating dynamic webpages.
Now I want to write a page, where a user can enter simply text. This text (news, docs, etc...) is then stored in the database.
On the homepage there is automatically a link created that displays a webpage containing this text. Sounds simply, so far, infact it is almost the same like the Inputbox on this newsgroup.
My problem is that with the PHP-command "echo ($message)" all linebreaks are ignored. So the whole text is only one block. It is possible to enter the html-codes (<br>, etc.), they are interpreted, but my users don't know HTML.
Have you any advice for me? Thank you very much in advance.
Werner
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|