Jump to content

<br> tags in messages.....


mforan

Recommended Posts

ok i have a problem that im not sure how to solve...
basically i have a message system, the user inputs there message in to the form and it submits it into the database.
what i was wondering is, is there anyway to make it so wen they press enter in the message form window it adds a <br> tag ???

example:

[b]Current input into the database is:[/b]
this is a test message.
[b]the current output is:[/b]
this is a test message.

if they actually pressed enter in the form message window, when they submit the form it would show:
[b]in the database:[/b]
this is a </br\> test message.
[b]output result on page:[/b]
this is a
test message.


if this isnt easy to understand im sorry.  ;D
Link to comment
https://forums.phpfreaks.com/topic/31547-tags-in-messages/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.