Useful for displaying on HTML when using SQL Server as database

For SQL Server

SELECT REPLACE(REPLACE(address, char(13), '<br/>'), CHAR(10), '<br/>')

Where

CHAR(10) = lf

CHAR(13) = cr

Get Free Email Updates!

Signup now and receive free offers, discounts & coupon codes

I agree to have my personal information transfered to Mad Mimi ( more information )

I will never give away, trade or sell your email address. You can unsubscribe at any time.

By zeeshan

Leave a Reply

Your email address will not be published. Required fields are marked *

CommentLuv badge

This site uses Akismet to reduce spam. Learn how your comment data is processed.