Jump to content

What's a good way for users to enter text in a forum?


ethan6

Recommended Posts

ok i see how the nl2br() converts \n to <br> , but what if my users just push return and don't enter code in?

 

If a user hits enter it will be stored within the database as a newline. When you display this data on a page, running it through nl2br will covert the newlines to <br /> tags.

 

i'm working with the jWYSIWYG one,. but just wondering how i add a "submit" button?

 

That would have nothing to do with php and more to do with reading the manual of whatever WYSIWYG editor you are using.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.