Translate

Tuesday, April 3, 2012

Line breaks (textbox, HTML,SQL)

For HTML :    <br/>


For Plain text (use for multiline textbox, plain text email etc) :     \r\n


For SQL : CHAR(13)
example: select ('xx'+CHAR(13)+'yy')

No comments:

Post a Comment

Comments will appear once they have been approved by the moderator